Class ShulkerEntity.TargetPlayerGoal

Enclosing class:
ShulkerEntity

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

    • TargetPlayerGoal

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

    • canStart

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

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