Class Ocelot.OcelotAvoidEntityGoal<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.Ocelot.OcelotAvoidEntityGoal<T>
- Enclosing class:
- Ocelot
-
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
ConstructorDescriptionOcelotAvoidEntityGoal(Ocelot p_29051_, Class<T> p_29052_, float p_29053_, double p_29054_, double p_29055_)
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
start, stop, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
ocelot
-
-
Constructor Details
-
OcelotAvoidEntityGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classAvoidEntityGoal<T extends LivingEntity>
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classAvoidEntityGoal<T extends LivingEntity>
-