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
class BeeEntity.StingGoal extends MeleeAttackGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
-
Constructor Summary
Constructors Constructor Description StingGoal(CreatureEntity p_i225718_2_, double p_i225718_3_, boolean p_i225718_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
-
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 Detail
-
StingGoal
StingGoal(CreatureEntity p_i225718_2_, double p_i225718_3_, boolean p_i225718_5_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classMeleeAttackGoal
-
-