Package net.minecraft.entity.ai.goal
Class BreatheAirGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.BreatheAirGoal
public class BreatheAirGoal extends Goal
- Mappings:
Namespace Name official awj
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 Modifier and Type Field Description private PathAwareEntity
mob
-
Constructor Summary
Constructors Constructor Description BreatheAirGoal(PathAwareEntity mob)
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getControls, setControls, stop, toString
-
Field Details
-
mob
- Mappings:
Namespace Name Mixin selector official a
Lawj;a:Larq;
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>
Lawj;<init>(Larq;)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
Lawx;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 g
Lawj;g()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
Lawj;a(Lbty;Lfx;)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
-