public class ZombieAttackGoal extends MeleeAttackGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private int |
ticks |
private ZombieEntity |
zombie |
mob
Constructor and Description |
---|
ZombieAttackGoal(ZombieEntity zombie,
double speed,
boolean pauseWhenMobIdle) |
Modifier and Type | Method and Description |
---|---|
void |
start() |
void |
stop() |
void |
tick() |
attack, canStart, getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349, shouldContinue
canStop, getControls, setControls, toString
private final ZombieEntity zombie
private int ticks
public ZombieAttackGoal(ZombieEntity zombie, double speed, boolean pauseWhenMobIdle)
public void start()
start
in class MeleeAttackGoal
public void stop()
stop
in class MeleeAttackGoal
public void tick()
tick
in class MeleeAttackGoal