Class Rabbit.RabbitAvoidEntityGoal<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.Rabbit.RabbitAvoidEntityGoal<T>
- Enclosing class:
- Rabbit
-
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
ConstructorDescriptionRabbitAvoidEntityGoal(Rabbit p_29743_, Class<T> p_29744_, float p_29745_, double p_29746_, double p_29747_)
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
canContinueToUse, start, stop, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
rabbit
-
-
Constructor Details
-
RabbitAvoidEntityGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classAvoidEntityGoal<T extends LivingEntity>
-