static class GuardianEntity.AttackGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private GuardianEntity |
guardian |
private boolean |
isElder |
private int |
tickCounter |
| Constructor and Description |
|---|
AttackGoal(GuardianEntity guardian) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, toStringprivate final GuardianEntity guardian
private int tickCounter
private final boolean isElder
public AttackGoal(GuardianEntity guardian)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal