static class PandaEntity.ExtinguishFireGoal extends EscapeDangerGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private PandaEntity |
panda |
Constructor and Description |
---|
ExtinguishFireGoal(PandaEntity panda,
double speed) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
boolean |
shouldContinue() |
findTarget, isActive, locateClosestWater, start, stop
canStop, getControls, setControls, tick, toString
private final PandaEntity panda
public ExtinguishFireGoal(PandaEntity panda, double speed)
public boolean canStart()
canStart
in class EscapeDangerGoal
public boolean shouldContinue()
shouldContinue
in class EscapeDangerGoal