static class PandaEntity.AvoidGoal<T extends LivingEntity> extends AvoidEntityGoal<T>
Modifier and Type | Field and Description |
---|---|
private PandaEntity |
panda |
avoidDistance, avoidTarget, avoidTargetSelector, classToAvoid, entity, field_203784_k, navigation, path
Constructor and Description |
---|
AvoidGoal(PandaEntity pandaIn,
java.lang.Class<T> entityClassToAvoidIn,
float distance,
double nearSpeedIn,
double farSpeedIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute() |
resetTask, shouldContinueExecuting, startExecuting, tick
getMutexFlags, isPreemptible, setMutexFlags, toString
private final PandaEntity panda
public AvoidGoal(PandaEntity pandaIn, java.lang.Class<T> entityClassToAvoidIn, float distance, double nearSpeedIn, double farSpeedIn)
public boolean shouldExecute()
shouldExecute
in class AvoidEntityGoal<T extends LivingEntity>