static class DrownedEntity.TargetAboveWaterGoal extends Goal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private DrownedEntity |
drowned |
private boolean |
foundTarget |
private int |
minY |
private double |
speed |
| Constructor and Description |
|---|
TargetAboveWaterGoal(DrownedEntity drowned,
double speed,
int minY) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
boolean |
shouldContinue() |
void |
start() |
void |
stop() |
void |
tick() |
canStop, getControls, setControls, toStringprivate final DrownedEntity drowned
private final double speed
private final int minY
private boolean foundTarget
public TargetAboveWaterGoal(DrownedEntity drowned, double speed, int minY)
public boolean shouldContinue()
shouldContinue in class Goal