static class DrownedEntity.TridentAttackGoal extends ProjectileAttackGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private DrownedEntity |
drowned |
Constructor and Description |
---|
TridentAttackGoal(RangedAttackMob mob,
double mobSpeed,
int intervalTicks,
float maxShootRange) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
void |
start() |
void |
stop() |
shouldContinue, tick
canStop, getControls, setControls, toString
private final DrownedEntity drowned
public TridentAttackGoal(RangedAttackMob mob, double mobSpeed, int intervalTicks, float maxShootRange)
public boolean canStart()
canStart
in class ProjectileAttackGoal
public void stop()
stop
in class ProjectileAttackGoal