Package net.minecraft.util.math
Class LongJumpUtil
java.lang.Object
net.minecraft.util.math.LongJumpUtil
- Mappings:
Namespace Name official bpg
intermediary net/minecraft/class_8946
named net/minecraft/util/math/LongJumpUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetJumpingVelocity
(MobEntity entity, Vec3d jumpTarget, float maxVelocity, int angle, boolean requireClearPath) private static boolean
isPathClear
(MobEntity entity, EntityDimensions dimensions, Vec3d prevPos, Vec3d nextPos)
-
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 official a
Lbpg;a(Lbmn;Lelt;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;
named getJumpingVelocity
Lnet/minecraft/util/math/LongJumpUtil;getJumpingVelocity(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/Vec3d;FIZ)Ljava/util/Optional;
-
isPathClear
private static boolean isPathClear(MobEntity entity, EntityDimensions dimensions, Vec3d prevPos, Vec3d nextPos) - Mappings:
Namespace Name Mixin selector official a
Lbpg;a(Lbmn;Lblw;Lelt;Lelt;)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
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
-