Class LongJumpUtil

java.lang.Object
net.minecraft.util.math.LongJumpUtil

public final class LongJumpUtil extends Object
Mappings:
Namespace Name
named net/minecraft/util/math/LongJumpUtil
intermediary net/minecraft/class_8946
official bwj
  • Constructor Details

    • LongJumpUtil

      public LongJumpUtil()
  • Method Details

    • getJumpingVelocity

      public static Optional<Vec3d> getJumpingVelocity(MobEntity entity, Vec3d jumpTarget, float maxVelocity, int angle, boolean requireClearPath)
      Mappings:
      Namespace Name Mixin selector
      named getJumpingVelocity Lnet/minecraft/util/math/LongJumpUtil;getJumpingVelocity(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/Vec3d;FIZ)Ljava/util/Optional;
      intermediary method_54990 Lnet/minecraft/class_8946;method_54990(Lnet/minecraft/class_1308;Lnet/minecraft/class_243;FIZ)Ljava/util/Optional;
      official a Lbwj;a(Lbtn;Leww;FIZ)Ljava/util/Optional;
    • isPathClear

      private static boolean isPathClear(MobEntity entity, EntityDimensions dimensions, Vec3d prevPos, Vec3d nextPos)
      Mappings:
      Namespace Name Mixin selector
      named isPathClear Lnet/minecraft/util/math/LongJumpUtil;isPathClear(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/EntityDimensions;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z
      intermediary method_54989 Lnet/minecraft/class_8946;method_54989(Lnet/minecraft/class_1308;Lnet/minecraft/class_4048;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Z
      official a Lbwj;a(Lbtn;Lbst;Leww;Leww;)Z