public class ZombieAttackGoal extends MeleeAttackGoal
Modifier and Type | Field and Description |
---|---|
private int |
raiseArmTicks |
private ZombieEntity |
zombie |
attacker, attackInterval, attackTick
Constructor and Description |
---|
ZombieAttackGoal(ZombieEntity zombieIn,
double speedIn,
boolean longMemoryIn) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
void |
startExecuting() |
void |
tick() |
checkAndPerformAttack, getAttackReachSqr, shouldContinueExecuting, shouldExecute
getMutexFlags, isPreemptible, setMutexFlags, toString
private final ZombieEntity zombie
private int raiseArmTicks
public ZombieAttackGoal(ZombieEntity zombieIn, double speedIn, boolean longMemoryIn)
public void startExecuting()
startExecuting
in class MeleeAttackGoal
public void resetTask()
resetTask
in class MeleeAttackGoal
public void tick()
tick
in class MeleeAttackGoal