class WolfEntity.AvoidLlamaGoal<T extends LivingEntity> extends FleeEntityGoal<T>
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private WolfEntity |
wolf |
classToFleeFrom, extraInclusionSelector, fleeDistance, fleeingEntityNavigation, fleePath, inclusionSelector, mob, targetEntity| Constructor and Description |
|---|
AvoidLlamaGoal(WolfEntity wolfEntity,
Class<T> wolf,
float fleeFromType,
double distance,
double double2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
private boolean |
isScaredOf(LlamaEntity llama) |
void |
start() |
void |
tick() |
shouldContinue, stopcanStop, getControls, setControls, toStringprivate final WolfEntity wolf
public AvoidLlamaGoal(WolfEntity wolfEntity, Class<T> wolf, float fleeFromType, double distance, double double2)
public boolean canStart()
canStart in class FleeEntityGoal<T extends LivingEntity>private boolean isScaredOf(LlamaEntity llama)
public void start()
start in class FleeEntityGoal<T extends LivingEntity>public void tick()
tick in class FleeEntityGoal<T extends LivingEntity>