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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckAndPerformAttack(LivingEntity target) voidstop()Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
canContinueToUse, canPerformAttack, canUse, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldown, start, tickMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
PolarBearMeleeAttackGoal
public PolarBearMeleeAttackGoal()
-
-
Method Details
-
checkAndPerformAttack
- Overrides:
checkAndPerformAttackin classMeleeAttackGoal
-
stop
public void stop()- Overrides:
stopin classMeleeAttackGoal
-