Class BreezeJumpTask

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<BreezeEntity>
net.minecraft.entity.ai.brain.task.BreezeJumpTask
All Implemented Interfaces:
Task<BreezeEntity>

public class BreezeJumpTask extends MultiTickTask<BreezeEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/BreezeJumpTask
intermediary net/minecraft/class_8952
official cld
  • Field Details

    • REQUIRED_SPACE_ABOVE

      private static final int REQUIRED_SPACE_ABOVE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named REQUIRED_SPACE_ABOVE Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;REQUIRED_SPACE_ABOVE:I
      intermediary field_47289 Lnet/minecraft/class_8952;field_47289:I
      official c Lcld;c:I
    • JUMP_COOLDOWN_EXPIRY

      private static final int JUMP_COOLDOWN_EXPIRY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named JUMP_COOLDOWN_EXPIRY Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;JUMP_COOLDOWN_EXPIRY:I
      intermediary field_47291 Lnet/minecraft/class_8952;field_47291:I
      official d Lcld;d:I
    • JUMP_COOLDOWN_EXPIRY_WHEN_HURT

      private static final int JUMP_COOLDOWN_EXPIRY_WHEN_HURT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named JUMP_COOLDOWN_EXPIRY_WHEN_HURT Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;JUMP_COOLDOWN_EXPIRY_WHEN_HURT:I
      intermediary field_47292 Lnet/minecraft/class_8952;field_47292:I
      official e Lcld;e:I
    • JUMP_INHALING_EXPIRY

      private static final int JUMP_INHALING_EXPIRY
      Mappings:
      Namespace Name Mixin selector
      named JUMP_INHALING_EXPIRY Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;JUMP_INHALING_EXPIRY:I
      intermediary field_47293 Lnet/minecraft/class_8952;field_47293:I
      official f Lcld;f:I
    • MAX_JUMP_VELOCITY

      private static final float MAX_JUMP_VELOCITY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_JUMP_VELOCITY Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;MAX_JUMP_VELOCITY:F
      intermediary field_47294 Lnet/minecraft/class_8952;field_47294:F
      official g Lcld;g:F
    • POSSIBLE_JUMP_ANGLES

      private static final ObjectArrayList<Integer> POSSIBLE_JUMP_ANGLES
      Mappings:
      Namespace Name Mixin selector
      named POSSIBLE_JUMP_ANGLES Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;POSSIBLE_JUMP_ANGLES:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      intermediary field_47295 Lnet/minecraft/class_8952;field_47295:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      official h Lcld;h:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
  • Constructor Details

    • BreezeJumpTask

      public BreezeJumpTask()
  • Method Details

    • shouldJump

      public static boolean shouldJump(ServerWorld world, BreezeEntity breeze)
      Mappings:
      Namespace Name Mixin selector
      named shouldJump Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;shouldJump(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;)Z
      intermediary method_58644 Lnet/minecraft/class_8952;method_58644(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;)Z
      official a Lcld;a(Larf;Lcla;)Z
    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, BreezeEntity breezeEntity)
      Overrides:
      shouldRun in class MultiTickTask<BreezeEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldRun Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;)Z
      intermediary method_55020 Lnet/minecraft/class_8952;method_55020(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;)Z
      official b Lcld;b(Larf;Lcla;)Z
    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, BreezeEntity breezeEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<BreezeEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;J)Z
      intermediary method_55021 Lnet/minecraft/class_8952;method_55021(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;J)Z
      official a Lcld;a(Larf;Lcla;J)Z
    • run

      protected void run(ServerWorld serverWorld, BreezeEntity breezeEntity, long long2)
      Overrides:
      run in class MultiTickTask<BreezeEntity>
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;J)V
      intermediary method_55030 Lnet/minecraft/class_8952;method_55030(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;J)V
      official b Lcld;b(Larf;Lcla;J)V
    • keepRunning

      protected void keepRunning(ServerWorld serverWorld, BreezeEntity breezeEntity, long long2)
      Overrides:
      keepRunning in class MultiTickTask<BreezeEntity>
      Mappings:
      Namespace Name Mixin selector
      named keepRunning Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;J)V
      intermediary method_55034 Lnet/minecraft/class_8952;method_55034(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;J)V
      official c Lcld;c(Larf;Lcla;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, BreezeEntity breezeEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<BreezeEntity>
      Mappings:
      Namespace Name Mixin selector
      named finishRunning Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;J)V
      intermediary method_55035 Lnet/minecraft/class_8952;method_55035(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;J)V
      official d Lcld;d(Larf;Lcla;J)V
    • shouldStopInhalingPose

      private static boolean shouldStopInhalingPose(BreezeEntity breeze)
      Mappings:
      Namespace Name Mixin selector
      named shouldStopInhalingPose Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;shouldStopInhalingPose(Lnet/minecraft/entity/mob/BreezeEntity;)Z
      intermediary method_55024 Lnet/minecraft/class_8952;method_55024(Lnet/minecraft/class_8949;)Z
      official a Lcld;a(Lcla;)Z
    • shouldStopLongJumpingPose

      private static boolean shouldStopLongJumpingPose(BreezeEntity breeze)
      Mappings:
      Namespace Name Mixin selector
      named shouldStopLongJumpingPose Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;shouldStopLongJumpingPose(Lnet/minecraft/entity/mob/BreezeEntity;)Z
      intermediary method_55031 Lnet/minecraft/class_8952;method_55031(Lnet/minecraft/class_8949;)Z
      official b Lcld;b(Lcla;)Z
    • getPosToJumpTo

      @Nullable private static @Nullable BlockPos getPosToJumpTo(LivingEntity breeze, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named getPosToJumpTo Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;getPosToJumpTo(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/BlockPos;
      intermediary method_55023 Lnet/minecraft/class_8952;method_55023(Lnet/minecraft/class_1309;Lnet/minecraft/class_243;)Lnet/minecraft/class_2338;
      official a Lcld;a(Lbtq;Levs;)Liz;
    • isTargetOutOfRange

      private static boolean isTargetOutOfRange(BreezeEntity breeze, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named isTargetOutOfRange Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;isTargetOutOfRange(Lnet/minecraft/entity/mob/BreezeEntity;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_55026 Lnet/minecraft/class_8952;method_55026(Lnet/minecraft/class_8949;Lnet/minecraft/class_1309;)Z
      official a Lcld;a(Lcla;Lbtq;)Z
    • isTargetTooClose

      private static boolean isTargetTooClose(BreezeEntity breeze, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named isTargetTooClose Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;isTargetTooClose(Lnet/minecraft/entity/mob/BreezeEntity;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_55032 Lnet/minecraft/class_8952;method_55032(Lnet/minecraft/class_8949;Lnet/minecraft/class_1309;)Z
      official b Lcld;b(Lcla;Lbtq;)Z
    • hasRoomToJump

      private static boolean hasRoomToJump(ServerWorld world, BreezeEntity breeze)
      Mappings:
      Namespace Name Mixin selector
      named hasRoomToJump Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;hasRoomToJump(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;)Z
      intermediary method_55029 Lnet/minecraft/class_8952;method_55029(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;)Z
      official c Lcld;c(Larf;Lcla;)Z
    • getJumpingVelocity

      private static Optional<Vec3d> getJumpingVelocity(BreezeEntity breeze, Random random, Vec3d jumpTarget)
      Mappings:
      Namespace Name Mixin selector
      named getJumpingVelocity Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;getJumpingVelocity(Lnet/minecraft/entity/mob/BreezeEntity;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/Vec3d;)Ljava/util/Optional;
      intermediary method_55025 Lnet/minecraft/class_8952;method_55025(Lnet/minecraft/class_8949;Lnet/minecraft/class_5819;Lnet/minecraft/class_243;)Ljava/util/Optional;
      official a Lcld;a(Lcla;Lazh;Levs;)Ljava/util/Optional;