static class DrownedEntity.DrownedAttackGoal extends ZombieAttackGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private DrownedEntity |
drowned |
mob| Constructor and Description |
|---|
DrownedAttackGoal(DrownedEntity drowned,
double speed,
boolean pauseWhenMobIdle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
boolean |
shouldContinue() |
start, stop, tickattack, getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349canStop, 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