net.minecraft.entity.ai.goal

public class BreatheAirGoal

extends Goal

net.minecraft.world.entity.ai.goal.BreathAirGoal
net.minecraft.class_1342
net.minecraft.entity.ai.goal.BreatheAirGoal

Field summary

Modifier and TypeField
private final PathAwareEntity
mob
field_6408
mob

Constructor summary

ModifierConstructor
public (PathAwareEntity mob)

Method summary

Modifier and TypeMethod
public boolean
canUse()
method_6264()
canStart()
public boolean
canContinueToUse()
method_6266()
shouldContinue()
public boolean
isInterruptable()
method_6267()
canStop()
public void
start()
method_6269()
start()
private void
findAirPosition()
method_6252()
moveToAir()
public void
tick()
method_6268()
tick()
private boolean
givesAir(LevelReader level, BlockPos pos)
method_6253(class_4538 arg0, class_2338 arg1)
isAirPos(WorldView world, BlockPos pos)