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, toString
private final CreatureEntity field_205142_a
public BreatheAirGoal(CreatureEntity p_i48940_1_)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public boolean isPreemptible()
isPreemptible
in class Goal
public void startExecuting()
startExecuting
in class Goal
private void navigate()
private boolean canBreatheAt(IWorldReader worldIn, BlockPos pos)