Class PhantomEntity.AttackPlayerGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.monster.PhantomEntity.AttackPlayerGoal
Enclosing class:
PhantomEntity

class PhantomEntity.AttackPlayerGoal extends Goal
  • Field Details

    • attackTargeting

      private final EntityPredicate attackTargeting
    • nextScanTick

      private int nextScanTick
  • Constructor Details

    • AttackPlayerGoal

      private AttackPlayerGoal()
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • canContinueToUse

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class Goal