public class BreatheAirGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private CreatureEntity |
field_205142_a |
| Constructor and Description |
|---|
BreatheAirGoal(CreatureEntity p_i48940_1_) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
canBreatheAt(IWorldReader worldIn,
BlockPos pos) |
boolean |
isPreemptible() |
private void |
navigate() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, resetTask, setMutexFlags, toStringprivate final CreatureEntity field_205142_a
public BreatheAirGoal(CreatureEntity p_i48940_1_)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic boolean isPreemptible()
isPreemptible in class Goalpublic void startExecuting()
startExecuting in class Goalprivate void navigate()
private boolean canBreatheAt(IWorldReader worldIn, BlockPos pos)