public class EntityAIZombieAttack extends EntityAIAttackMelee
attacker, attackInterval, attackTick| Constructor and Description |
|---|
EntityAIZombieAttack(EntityZombie zombieIn,
double speedIn,
boolean longMemoryIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask()
Resets the task
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
updateTask()
Updates the task
|
checkAndPerformAttack, continueExecuting, getAttackReachSqr, shouldExecutegetMutexBits, isInterruptible, setMutexBitspublic EntityAIZombieAttack(EntityZombie zombieIn, double speedIn, boolean longMemoryIn)
public void startExecuting()
startExecuting in class EntityAIAttackMeleepublic void resetTask()
resetTask in class EntityAIAttackMeleepublic void updateTask()
updateTask in class EntityAIAttackMelee