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, shouldContinuecanStop, getControls, setControls, toStringprivate final ZombieEntity zombie
private int ticks
public ZombieAttackGoal(ZombieEntity zombie, double speed, boolean pauseWhenMobIdle)
public void start()
start in class MeleeAttackGoalpublic void stop()
stop in class MeleeAttackGoalpublic void tick()
tick in class MeleeAttackGoal