static class GhastEntity.RandomFlyGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private GhastEntity |
parentEntity |
| Constructor and Description |
|---|
RandomFlyGoal(GhastEntity ghast) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, resetTask, setMutexFlags, tick, toStringprivate final GhastEntity parentEntity
public RandomFlyGoal(GhastEntity ghast)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal