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