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
- Mappings:
Namespace Name official ben$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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
attack
(LivingEntity target, double squaredDistance) protected double
void
stop()
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canStart, getCooldown, getMaxCooldown, isCooledDown, resetCooldown, 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
Lazy;a(Latt;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
Lazo;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
Lazy;a(Latt;)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
-