public class ZombieAttackGoal extends MeleeAttackGoal
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
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