Package net.minecraft.entity.passive
Class PolarBearEntity.AttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.passive.PolarBearEntity.AttackGoal
- Enclosing class:
- PolarBearEntity
class PolarBearEntity.AttackGoal extends MeleeAttackGoal
- Mappings:
Namespace Name official bbz$cintermediary net/minecraft/class_1456$class_1460named net/minecraft/entity/passive/PolarBearEntity$AttackGoal
-
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 AttackGoal() -
Method Summary
Modifier and Type Method Description protected voidattack(LivingEntity target, double squaredDistance)protected doublegetSquaredMaxAttackDistance(LivingEntity entity)voidstop()Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canStart, method_28346, method_28347, method_28348, method_28349, shouldContinue, start, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
AttackGoal
public AttackGoal()
-
-
Method Details
-
attack
- Overrides:
attackin classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector official aLaxh;a(Lari;D)Vintermediary method_6288Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;D)Vnamed attackLnet/minecraft/entity/ai/goal/MeleeAttackGoal;attack(Lnet/minecraft/entity/LivingEntity;D)V
-
stop
public void stop()- Overrides:
stopin classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector official dLawx;d()Vintermediary method_6270Lnet/minecraft/class_1352;method_6270()Vnamed stopLnet/minecraft/entity/ai/goal/Goal;stop()V
-
getSquaredMaxAttackDistance
- Overrides:
getSquaredMaxAttackDistancein classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector official aLaxh;a(Lari;)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
-