Class Wolf.WolfAvoidEntityGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.AvoidEntityGoal<T>
net.minecraft.world.entity.animal.Wolf.WolfAvoidEntityGoal<T>
- Enclosing class:
- Wolf
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
avoidClass, avoidPredicate, maxDist, mob, path, pathNav, predicateOnAvoidEntity, toAvoid
-
Constructor Summary
ConstructorDescriptionWolfAvoidEntityGoal
(Wolf p_30454_, Class<T> p_30455_, float p_30456_, double p_30457_, double p_30458_) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
avoidLlama
(Llama p_30461_) boolean
canUse()
void
start()
void
tick()
Methods inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
canContinueToUse, stop
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
wolf
-
-
Constructor Details
-
WolfAvoidEntityGoal
-
-
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>
-