static class DolphinEntity.LeadToNearbyTreasureGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private DolphinEntity |
dolphin |
private boolean |
noPathToStructure |
Constructor and Description |
---|
LeadToNearbyTreasureGoal(DolphinEntity dolphin) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
boolean |
canStop() |
boolean |
shouldContinue() |
void |
start() |
void |
stop() |
void |
tick() |
getControls, setControls, toString
private final DolphinEntity dolphin
private boolean noPathToStructure
LeadToNearbyTreasureGoal(DolphinEntity dolphin)
public boolean shouldContinue()
shouldContinue
in class Goal