Package net.minecraft.entity.mob
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
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private int
delay
private TargetPredicate
PLAYERS_IN_RANGE_PREDICATE
-
Constructor Summary
Constructors Modifier Constructor Description private
FindTargetGoal()
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, start, stop, tick, toString
-
Field Details
-
PLAYERS_IN_RANGE_PREDICATE
-
delay
private int delay
-
-
Constructor Details
-
FindTargetGoal
private FindTargetGoal()
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
-