class BeeEntity.StingGoal extends MeleeAttackGoal
Goal.ControlattackIntervalTicks, 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, tickcanStop, getControls, setControls, toStringStingGoal(MobEntityWithAi mob, double speed, boolean pauseWhenMobIdle)
public boolean canStart()
canStart in class MeleeAttackGoalpublic boolean shouldContinue()
shouldContinue in class MeleeAttackGoal