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, toStringprivate 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 Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal