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 bma
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
-
Constructor Summary
-
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
Lbma;a:Lbgc;
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>
Lbma;<init>(Lbgc;)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
Lbmp;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
Lbma;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
Lbma;a(Lcmi;Lgu;)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
-