public class MoveTowardsRestrictionGoal extends Goal
Modifier and Type | Field and Description |
---|---|
private CreatureEntity |
creature |
private double |
movementSpeed |
private double |
movePosX |
private double |
movePosY |
private double |
movePosZ |
Constructor and Description |
---|
MoveTowardsRestrictionGoal(CreatureEntity creatureIn,
double speedIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, resetTask, setMutexFlags, tick, toString
private final CreatureEntity creature
private double movePosX
private double movePosY
private double movePosZ
private final double movementSpeed
public MoveTowardsRestrictionGoal(CreatureEntity creatureIn, double speedIn)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal