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