public class BreatheAirGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private PathAwareEntity |
mob |
Constructor and Description |
---|
BreatheAirGoal(PathAwareEntity mob) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
boolean |
canStop() |
private boolean |
isAirPos(WorldView world,
BlockPos pos) |
private void |
moveToAir() |
boolean |
shouldContinue() |
void |
start() |
void |
tick() |
getControls, setControls, stop, toString
private final PathAwareEntity mob
public BreatheAirGoal(PathAwareEntity mob)
public boolean shouldContinue()
shouldContinue
in class Goal
private void moveToAir()