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$c
intermediary net/minecraft/class_1456$class_1460
named 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 void
attack(LivingEntity target, double squaredDistance)
protected double
getSquaredMaxAttackDistance(LivingEntity entity)
void
stop()
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canStart, method_28346, method_28347, method_28348, method_28349, shouldContinue, start, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
AttackGoal
public AttackGoal()
-
-
Method Details
-
attack
- Overrides:
attack
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official a
Laxh;a(Lari;D)V
intermediary method_6288
Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;D)V
named attack
Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;attack(Lnet/minecraft/entity/LivingEntity;D)V
-
stop
public void stop()- Overrides:
stop
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official d
Lawx;d()V
intermediary method_6270
Lnet/minecraft/class_1352;method_6270()V
named stop
Lnet/minecraft/entity/ai/goal/Goal;stop()V
-
getSquaredMaxAttackDistance
- Overrides:
getSquaredMaxAttackDistance
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official a
Laxh;a(Lari;)D
intermediary method_6289
Lnet/minecraft/class_1366;method_6289(Lnet/minecraft/class_1309;)D
named getSquaredMaxAttackDistance
Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;getSquaredMaxAttackDistance(Lnet/minecraft/entity/LivingEntity;)D
-