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
FieldsFields inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
avoidClass, avoidPredicate, maxDist, mob, path, pathNav, predicateOnAvoidEntity, toAvoid -
Constructor Summary
ConstructorsConstructorDescriptionWolfAvoidEntityGoal(Wolf p_30454_, Class<T> p_30455_, float p_30456_, double p_30457_, double p_30458_) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanavoidLlama(Llama p_30461_) booleancanUse()voidstart()voidtick()Methods inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
canContinueToUse, stopMethods 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:
canUsein classAvoidEntityGoal<T extends LivingEntity>
-
avoidLlama
-
start
public void start()- Overrides:
startin classAvoidEntityGoal<T extends LivingEntity>
-
tick
public void tick()- Overrides:
tickin classAvoidEntityGoal<T extends LivingEntity>
-