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, tick
attack, getSquaredMaxAttackDistance
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