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
- Mappings:
Namespace Name official bdr$aintermediary net/minecraft/class_1463$class_1464named net/minecraft/entity/passive/RabbitEntity$RabbitAttackGoal
-
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, getCooldown, getMaxCooldown, isCooledDown, setMaxCooldown, shouldContinue, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
RabbitAttackGoal
- Mappings:
Namespace Name Mixin selector official <init>Lbdr$a;<init>(Lbdr;)Vintermediary <init>Lnet/minecraft/class_1463$class_1464;<init>(Lnet/minecraft/class_1463;)Vnamed <init>Lnet/minecraft/entity/passive/RabbitEntity$RabbitAttackGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;)V
-
-
Method Details
-
getSquaredMaxAttackDistance
- Overrides:
getSquaredMaxAttackDistancein classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector official aLaza;a(Lasy;)Dintermediary method_6289Lnet/minecraft/class_1366;method_6289(Lnet/minecraft/class_1309;)Dnamed getSquaredMaxAttackDistanceLnet/minecraft/entity/ai/goal/MeleeAttackGoal;getSquaredMaxAttackDistance(Lnet/minecraft/entity/LivingEntity;)D
-