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$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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattack(LivingEntity target, double squaredDistance)protected doublegetSquaredMaxAttackDistance(LivingEntity entity)voidstop()Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canStart, getCooldown, getMaxCooldown, isCooledDown, resetCooldown, 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 aLazy;a(Latt;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 dLazo;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 aLazy;a(Latt;)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
-