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, shouldExecutegetMutexFlags, isPreemptible, setMutexFlags, toStringprivate final ZombieEntity zombie
private int raiseArmTicks
public ZombieAttackGoal(ZombieEntity zombieIn, double speedIn, boolean longMemoryIn)
public void startExecuting()
startExecuting in class MeleeAttackGoalpublic void resetTask()
resetTask in class MeleeAttackGoalpublic void tick()
tick in class MeleeAttackGoal