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
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.AvoidEntityGoal
avoidClass, avoidPredicate, maxDist, mob, path, pathNav, predicateOnAvoidEntity, toAvoid
-
Constructor Summary
ConstructorDescriptionAvoidEntityGoal
(WolfEntity p_i47251_2_, Class<T> p_i47251_3_, float p_i47251_4_, double p_i47251_5_, double p_i47251_7_) -
Method Summary
Modifier and TypeMethodDescriptionprivate 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 Details
-
wolf
-
-
Constructor Details
-
AvoidEntityGoal
public AvoidEntityGoal(WolfEntity p_i47251_2_, Class<T> p_i47251_3_, float p_i47251_4_, double p_i47251_5_, double p_i47251_7_)
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classAvoidEntityGoal<T extends LivingEntity>
-
avoidLlama
-
start
public void start()- Overrides:
start
in classAvoidEntityGoal<T extends LivingEntity>
-
tick
public void tick()- Overrides:
tick
in classAvoidEntityGoal<T extends LivingEntity>
-