Package net.minecraft.entity.passive
Class WolfEntity.AvoidEntityGoal<T extends LivingEntity>
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.AvoidEntityGoal<T>
-
- net.minecraft.entity.passive.WolfEntity.AvoidEntityGoal<T>
-
- Enclosing class:
- WolfEntity
class WolfEntity.AvoidEntityGoal<T extends LivingEntity> extends AvoidEntityGoal<T>
-
-
Field Summary
Fields Modifier and Type Field Description private WolfEntity
wolf
-
Fields inherited from class net.minecraft.entity.ai.goal.AvoidEntityGoal
avoidClass, avoidPredicate, maxDist, mob, path, pathNav, predicateOnAvoidEntity, toAvoid
-
-
Constructor Summary
Constructors Constructor Description AvoidEntityGoal(WolfEntity p_i47251_2_, java.lang.Class<T> p_i47251_3_, float p_i47251_4_, double p_i47251_5_, double p_i47251_7_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
avoidLlama(LlamaEntity p_190854_1_)
boolean
canUse()
void
start()
void
tick()
-
Methods inherited from class net.minecraft.entity.ai.goal.AvoidEntityGoal
canContinueToUse, stop
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
wolf
private final WolfEntity wolf
-
-
Constructor Detail
-
AvoidEntityGoal
public AvoidEntityGoal(WolfEntity p_i47251_2_, java.lang.Class<T> p_i47251_3_, float p_i47251_4_, double p_i47251_5_, double p_i47251_7_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classAvoidEntityGoal<T extends LivingEntity>
-
avoidLlama
private boolean avoidLlama(LlamaEntity p_190854_1_)
-
start
public void start()
- Overrides:
start
in classAvoidEntityGoal<T extends LivingEntity>
-
tick
public void tick()
- Overrides:
tick
in classAvoidEntityGoal<T extends LivingEntity>
-
-