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 bcn
intermediary net/minecraft/class_1342
named net/minecraft/entity/ai/goal/BreatheAirGoal
  • Field Details

    • mob

      private final PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      official a Lbcn;a:Laxq;
      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

      public BreatheAirGoal(PathAwareEntity mob)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcn;<init>(Laxq;)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()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lbdb;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lbdb;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()
      Overrides:
      canStop in class Goal
      Mappings:
      Namespace Name Mixin selector
      official D_ Lbdb;D_()Z
      intermediary method_6267 Lnet/minecraft/class_1352;method_6267()Z
      named canStop Lnet/minecraft/entity/ai/goal/Goal;canStop()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lbdb;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • moveToAir

      private void moveToAir()
      Mappings:
      Namespace Name Mixin selector
      official g Lbcn;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()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lbdb;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • isAirPos

      private boolean isAirPos(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcn;a(Lcag;Lgh;)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