static class EntityGuardian.AIGuardianAttack extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private EntityGuardian |
guardian |
private boolean |
isElder |
private int |
tickCounter |
Constructor and Description |
---|
AIGuardianAttack(EntityGuardian guardian) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBits
private final EntityGuardian guardian
private int tickCounter
private final boolean isElder
public AIGuardianAttack(EntityGuardian guardian)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase