Class PolarBear.PolarBearMeleeAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.world.entity.animal.PolarBear.PolarBearMeleeAttackGoal
- Enclosing class:
- PolarBear
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkAndPerformAttack(LivingEntity p_29589_, double p_29590_)
protected double
getAttackReachSqr(LivingEntity p_29587_)
void
stop()
Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
canContinueToUse, canUse, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, resetAttackCooldown, start, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Constructor Details
-
PolarBearMeleeAttackGoal
public PolarBearMeleeAttackGoal()
-
-
Method Details
-
checkAndPerformAttack
- Overrides:
checkAndPerformAttack
in classMeleeAttackGoal
-
stop
public void stop()- Overrides:
stop
in classMeleeAttackGoal
-
getAttackReachSqr
- Overrides:
getAttackReachSqr
in classMeleeAttackGoal
-