static class RabbitEntity.EscapeDangerGoal extends EscapeDangerGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private RabbitEntity |
rabbit |
Constructor and Description |
---|
EscapeDangerGoal(RabbitEntity rabbit,
double speed) |
Modifier and Type | Method and Description |
---|---|
void |
tick() |
canStart, findTarget, isActive, locateClosestWater, shouldContinue, start, stop
canStop, getControls, setControls, toString
private final RabbitEntity rabbit
public EscapeDangerGoal(RabbitEntity rabbit, double speed)