public class MoveTowardsTargetGoal extends Goal
Constructor and Description |
---|
MoveTowardsTargetGoal(CreatureEntity creature,
double speedIn,
float targetMaxDistance) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, setMutexFlags, tick
public MoveTowardsTargetGoal(CreatureEntity creature, double speedIn, float targetMaxDistance)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal