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