class BeeEntity.StingGoal extends MeleeAttackGoal
Goal.Control
attackIntervalTicks, mob, ticksUntilAttack
Constructor and Description |
---|
StingGoal(MobEntityWithAi mob,
double speed,
boolean pauseWhenMobIdle) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
boolean |
shouldContinue() |
attack, getSquaredMaxAttackDistance, start, stop, tick
canStop, getControls, setControls, toString
StingGoal(MobEntityWithAi mob, double speed, boolean pauseWhenMobIdle)
public boolean canStart()
canStart
in class MeleeAttackGoal
public boolean shouldContinue()
shouldContinue
in class MeleeAttackGoal