Class BreathAirGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.BreathAirGoal
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString
-
Field Details
-
mob
-
-
Constructor Details
-
BreathAirGoal
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
isInterruptable
public boolean isInterruptable()- Overrides:
isInterruptable
in classGoal
-
start
public void start() -
findAirPosition
private void findAirPosition() -
tick
public void tick() -
givesAir
-