static class DrownedEntity.DrownedAttackGoal extends ZombieAttackGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private DrownedEntity |
drowned |
attackIntervalTicks, mob, ticksUntilAttack| Constructor and Description |
|---|
DrownedAttackGoal(DrownedEntity drowned,
double speed,
boolean pauseWhenMobIdle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
boolean |
shouldContinue() |
start, stop, tickattack, getSquaredMaxAttackDistancecanStop, getControls, setControls, toStringprivate final DrownedEntity drowned
public DrownedAttackGoal(DrownedEntity drowned, double speed, boolean pauseWhenMobIdle)
public boolean canStart()
canStart in class MeleeAttackGoalpublic boolean shouldContinue()
shouldContinue in class MeleeAttackGoal