Class ShulkerEntity.TargetPlayerGoal

Enclosing class:
ShulkerEntity

private class ShulkerEntity.TargetPlayerGoal extends ActiveTargetGoal<PlayerEntity>
A hostile target goal on players.
Mappings:
Namespace Name
named net/minecraft/entity/mob/ShulkerEntity$TargetPlayerGoal
intermediary net/minecraft/class_1606$class_1610
official cnc$e
  • Constructor Details

    • TargetPlayerGoal

      public TargetPlayerGoal(ShulkerEntity shulker)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/ShulkerEntity$TargetPlayerGoal;<init>(Lnet/minecraft/entity/mob/ShulkerEntity;Lnet/minecraft/entity/mob/ShulkerEntity;)V
      intermediary <init> Lnet/minecraft/class_1606$class_1610;<init>(Lnet/minecraft/class_1606;Lnet/minecraft/class_1606;)V
      official <init> Lcnc$e;<init>(Lcnc;Lcnc;)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class ActiveTargetGoal<PlayerEntity>
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcdd;b()Z
    • getSearchBox

      protected Box getSearchBox(double distance)
      Overrides:
      getSearchBox in class ActiveTargetGoal<PlayerEntity>
      Mappings:
      Namespace Name Mixin selector
      named getSearchBox Lnet/minecraft/entity/ai/goal/ActiveTargetGoal;getSearchBox(D)Lnet/minecraft/util/math/Box;
      intermediary method_6321 Lnet/minecraft/class_1400;method_6321(D)Lnet/minecraft/class_238;
      official a Lcew;a(D)Lfbs;