Package net.minecraft.entity.passive
Class RabbitEntity.RabbitAttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.passive.RabbitEntity.RabbitAttackGoal
- Enclosing class:
- RabbitEntity
static class RabbitEntity.RabbitAttackGoal extends MeleeAttackGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob -
Constructor Summary
Constructors Constructor Description RabbitAttackGoal(RabbitEntity rabbit) -
Method Summary
Modifier and Type Method Description protected doublegetSquaredMaxAttackDistance(LivingEntity entity)Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, canStart, method_28346, method_28347, method_28348, method_28349, shouldContinue, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
RabbitAttackGoal
-
-
Method Details
-
getSquaredMaxAttackDistance
- Overrides:
getSquaredMaxAttackDistancein classMeleeAttackGoal
-