static class PufferfishEntity.PuffGoal extends Goal
Modifier and Type | Field and Description |
---|---|
private PufferfishEntity |
fish |
Constructor and Description |
---|
PuffGoal(PufferfishEntity fish) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
private final PufferfishEntity fish
public PuffGoal(PufferfishEntity fish)
public boolean shouldExecute()
shouldExecute
in class Goal
public void startExecuting()
startExecuting
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal