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, tick
attack, getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349
canStop, getControls, setControls, toString
private final DrownedEntity drowned
public DrownedAttackGoal(DrownedEntity drowned, double speed, boolean pauseWhenMobIdle)
public boolean canStart()
canStart
in class MeleeAttackGoal
public boolean shouldContinue()
shouldContinue
in class MeleeAttackGoal