Package net.minecraft.entity.passive
Class RabbitEntity.AvoidEntityGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.AvoidEntityGoal<T>
net.minecraft.entity.passive.RabbitEntity.AvoidEntityGoal<T>
- Enclosing class:
- RabbitEntity
-
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
(RabbitEntity p_i46403_1_, Class<T> p_i46403_2_, float p_i46403_3_, double p_i46403_4_, double p_i46403_6_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.AvoidEntityGoal
canContinueToUse, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
rabbit
-
-
Constructor Details
-
AvoidEntityGoal
public AvoidEntityGoal(RabbitEntity p_i46403_1_, Class<T> p_i46403_2_, float p_i46403_3_, double p_i46403_4_, double p_i46403_6_)
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classAvoidEntityGoal<T extends LivingEntity>
-