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