static class PandaEntity.PanicGoal extends PanicGoal
Modifier and Type | Field and Description |
---|---|
private PandaEntity |
panda |
Constructor and Description |
---|
PanicGoal(PandaEntity pandaIn,
double speedIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
findRandomPosition, getRandPos, startExecuting
getMutexFlags, isPreemptible, resetTask, setMutexFlags, tick, toString
private final PandaEntity panda
public PanicGoal(PandaEntity pandaIn, double speedIn)
public boolean shouldExecute()
shouldExecute
in class PanicGoal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class PanicGoal