Class PhantomEntity.FindTargetGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.PhantomEntity.FindTargetGoal
Enclosing class:
PhantomEntity

class PhantomEntity.FindTargetGoal
extends Goal
  • Field Details

    • PLAYERS_IN_RANGE_PREDICATE

      private final TargetPredicate PLAYERS_IN_RANGE_PREDICATE
    • delay

      private int delay
  • Constructor Details

    • FindTargetGoal

      private FindTargetGoal()
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal