class WolfEntity.AvoidEntityGoal<T extends LivingEntity> extends AvoidEntityGoal<T>
| Modifier and Type | Field and Description |
|---|---|
private WolfEntity |
wolf |
avoidDistance, avoidTarget, avoidTargetSelector, classToAvoid, entity, field_203784_k, navigation, path| Constructor and Description |
|---|
AvoidEntityGoal(WolfEntity wolfIn,
java.lang.Class<T> entityClassToAvoidIn,
float avoidDistanceIn,
double farSpeedIn,
double nearSpeedIn) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
avoidLlama(LlamaEntity llamaIn) |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
resetTask, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, toStringprivate final WolfEntity wolf
public AvoidEntityGoal(WolfEntity wolfIn, java.lang.Class<T> entityClassToAvoidIn, float avoidDistanceIn, double farSpeedIn, double nearSpeedIn)
public boolean shouldExecute()
shouldExecute in class AvoidEntityGoal<T extends LivingEntity>private boolean avoidLlama(LlamaEntity llamaIn)
public void startExecuting()
startExecuting in class AvoidEntityGoal<T extends LivingEntity>public void tick()
tick in class AvoidEntityGoal<T extends LivingEntity>