Package net.minecraft.entity.passive
Class BeeEntity.StingGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.passive.BeeEntity.StingGoal
- Enclosing class:
- BeeEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
ConstructorDescriptionStingGoal
(CreatureEntity p_i225718_2_, double p_i225718_3_, boolean p_i225718_5_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
checkAndPerformAttack, getAttackInterval, getAttackReachSqr, getTicksUntilNextAttack, isTimeToAttack, resetAttackCooldown, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Constructor Details
-
StingGoal
StingGoal(CreatureEntity p_i225718_2_, double p_i225718_3_, boolean p_i225718_5_)
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classMeleeAttackGoal
-