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 intermediary net/minecraft/class_1456$class_1460official bsb$cnamed 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattack(LivingEntity target, double squaredDistance) protected doublevoidstop()Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canStart, getCooldown, getMaxCooldown, isCooledDown, resetCooldown, shouldContinue, shouldRunEveryTick, start, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, toGoalTicks, toString
-
Constructor Details
-
AttackGoal
public AttackGoal()
-
-
Method Details
-
attack
- Overrides:
attackin classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector intermediary method_6288Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;D)Vofficial aLbnd;a(Lbfx;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 intermediary method_6270Lnet/minecraft/class_1352;method_6270()Vofficial dLbmt;d()Vnamed stopLnet/minecraft/entity/ai/goal/Goal;stop()V
-
getSquaredMaxAttackDistance
- Overrides:
getSquaredMaxAttackDistancein classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector intermediary method_6289Lnet/minecraft/class_1366;method_6289(Lnet/minecraft/class_1309;)Dofficial aLbnd;a(Lbfx;)Dnamed getSquaredMaxAttackDistanceLnet/minecraft/entity/ai/goal/MeleeAttackGoal;getSquaredMaxAttackDistance(Lnet/minecraft/entity/LivingEntity;)D
-