static class TurtleEntity.WanderOnLandGoal extends WanderAroundGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private TurtleEntity |
turtle |
chance, ignoringChance, mob, speed, targetX, targetY, targetZ
Modifier | Constructor and Description |
---|---|
private |
WanderOnLandGoal(TurtleEntity turtle,
double speed,
int chance) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
getWanderTarget, ignoreChanceOnce, setChance, shouldContinue, start, stop
canStop, getControls, setControls, tick, toString
private final TurtleEntity turtle
private WanderOnLandGoal(TurtleEntity turtle, double speed, int chance)
public boolean canStart()
canStart
in class WanderAroundGoal