public class MoveTowardsRestrictionGoal extends Goal
| Constructor and Description |
|---|
MoveTowardsRestrictionGoal(CreatureEntity creatureIn,
double speedIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, resetTask, setMutexFlags, tickpublic MoveTowardsRestrictionGoal(CreatureEntity creatureIn, double speedIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal