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
-
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 Constructor Description StingGoal(PathAwareEntity mob, double speed, boolean pauseWhenMobIdle) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
StingGoal
StingGoal(PathAwareEntity mob, double speed, boolean pauseWhenMobIdle)
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMeleeAttackGoal
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMeleeAttackGoal
-