Package net.minecraft.entity.ai.goal
Class BreatheAirGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.BreatheAirGoal
- Mappings:
Namespace Name official bia
intermediary net/minecraft/class_1342
named net/minecraft/entity/ai/goal/BreatheAirGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getControls, getTickCount, setControls, shouldRunEveryTick, stop, toGoalTicks, toString
-
Field Details
-
mob
- Mappings:
Namespace Name Mixin selector official a
Lbia;a:Lbcl;
intermediary field_6408
Lnet/minecraft/class_1342;field_6408:Lnet/minecraft/class_1314;
named mob
Lnet/minecraft/entity/ai/goal/BreatheAirGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
-
-
Constructor Details
-
BreatheAirGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbia;<init>(Lbcl;)V
intermediary <init>
Lnet/minecraft/class_1342;<init>(Lnet/minecraft/class_1314;)V
named <init>
Lnet/minecraft/entity/ai/goal/BreatheAirGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lbip;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
canStop
public boolean canStop() -
start
public void start() -
moveToAir
private void moveToAir()- Mappings:
Namespace Name Mixin selector official h
Lbia;h()V
intermediary method_6252
Lnet/minecraft/class_1342;method_6252()V
named moveToAir
Lnet/minecraft/entity/ai/goal/BreatheAirGoal;moveToAir()V
-
tick
public void tick() -
isAirPos
- Mappings:
Namespace Name Mixin selector official a
Lbia;a(Lcha;Lgt;)Z
intermediary method_6253
Lnet/minecraft/class_1342;method_6253(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named isAirPos
Lnet/minecraft/entity/ai/goal/BreatheAirGoal;isAirPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-