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

    • mob

      private final PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      named mob Lnet/minecraft/entity/ai/goal/BreatheAirGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
      intermediary field_6408 Lnet/minecraft/class_1342;field_6408:Lnet/minecraft/class_1314;
      official a Lcco;a:Lbwn;
  • Constructor Details

    • BreatheAirGoal

      public BreatheAirGoal(PathAwareEntity mob)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/BreatheAirGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary <init> Lnet/minecraft/class_1342;<init>(Lnet/minecraft/class_1314;)V
      official <init> Lcco;<init>(Lbwn;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcdd;b()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official c Lcdd;c()Z
    • canStop

      public boolean canStop()
      Overrides:
      canStop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named canStop Lnet/minecraft/entity/ai/goal/Goal;canStop()Z
      intermediary method_6267 Lnet/minecraft/class_1352;method_6267()Z
      official U_ Lcdd;U_()Z
    • start

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

      private void moveToAir()
      Mappings:
      Namespace Name Mixin selector
      named moveToAir Lnet/minecraft/entity/ai/goal/BreatheAirGoal;moveToAir()V
      intermediary method_6252 Lnet/minecraft/class_1342;method_6252()V
      official h Lcco;h()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      official a Lcdd;a()V
    • isAirPos

      private boolean isAirPos(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isAirPos Lnet/minecraft/entity/ai/goal/BreatheAirGoal;isAirPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_6253 Lnet/minecraft/class_1342;method_6253(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      official a Lcco;a(Ldhk;Ljh;)Z