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()
Reset the task's internal state.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
updateTask()
Keep ticking a continuous task that has already been started
|
checkAndPerformAttack, getAttackReachSqr, shouldContinueExecuting, 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