static class RabbitEntity.FleeGoal<T extends LivingEntity> extends FleeEntityGoal<T>
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private RabbitEntity |
rabbit |
classToFleeFrom, extraInclusionSelector, fleeDistance, fleeingEntityNavigation, fleePath, inclusionSelector, mob, targetEntity| Constructor and Description |
|---|
FleeGoal(RabbitEntity rabbit,
Class<T> fleeFromType,
float distance,
double slowSpeed,
double fastSpeed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
shouldContinue, start, stop, tickcanStop, getControls, setControls, toStringprivate final RabbitEntity rabbit
public FleeGoal(RabbitEntity rabbit, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed)
public boolean canStart()
canStart in class FleeEntityGoal<T extends LivingEntity>