static class TurtleEntity.WanderGoal extends RandomWalkingGoal
Modifier and Type | Field and Description |
---|---|
private TurtleEntity |
turtle |
creature, executionChance, mustUpdate, speed, x, y, z
Modifier | Constructor and Description |
---|---|
private |
WanderGoal(TurtleEntity turtle,
double speedIn,
int chance) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute() |
getPosition, makeUpdate, resetTask, setExecutionChance, shouldContinueExecuting, startExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
private final TurtleEntity turtle
private WanderGoal(TurtleEntity turtle, double speedIn, int chance)
public boolean shouldExecute()
shouldExecute
in class RandomWalkingGoal