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
official cdn
intermediary net/minecraft/class_8952
named net/minecraft/entity/ai/brain/task/BreezeJumpTask
  • Field Details

    • REQUIRED_SPACE_ABOVE

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

      private static final double MAX_JUMP_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lcdn;d:D
      intermediary field_47290 Lnet/minecraft/class_8952;field_47290:D
      named MAX_JUMP_DISTANCE Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;MAX_JUMP_DISTANCE:D
    • JUMP_COOLDOWN_EXPIRY

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

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

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

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

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

    • BreezeJumpTask

      public BreezeJumpTask()
  • Method Details

    • shouldRun

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

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

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

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

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

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

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

      private static Vec3d getRandomPosBehindTarget(LivingEntity target, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcdn;a(Lbml;Lauv;)Lelt;
      intermediary method_55022 Lnet/minecraft/class_8952;method_55022(Lnet/minecraft/class_1309;Lnet/minecraft/class_5819;)Lnet/minecraft/class_243;
      named getRandomPosBehindTarget Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;getRandomPosBehindTarget(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/Vec3d;
    • getPosToJumpTo

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

      public static boolean canJumpTo(BreezeEntity breeze, Vec3d jumpPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcdn;a(Lcdl;Lelt;)Z
      intermediary method_55027 Lnet/minecraft/class_8952;method_55027(Lnet/minecraft/class_8949;Lnet/minecraft/class_243;)Z
      named canJumpTo Lnet/minecraft/entity/ai/brain/task/BreezeJumpTask;canJumpTo(Lnet/minecraft/entity/mob/BreezeEntity;Lnet/minecraft/util/math/Vec3d;)Z
    • isTargetOutOfRange

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

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

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

      private static Optional<Vec3d> getJumpingVelocity(BreezeEntity breeze, Random random, Vec3d jumpTarget)
      Mappings:
      Namespace Name Mixin selector
      official a Lcdn;a(Lcdl;Lauv;Lelt;)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;
      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;