From 468d04e2ffe2a748ee33e9752fc06d9e28822e6d Mon Sep 17 00:00:00 2001 From: Launium <1665571328@qq.com> Date: Sat, 17 Jan 2026 01:49:02 +0800 Subject: [PATCH] Fix parameter reorder in `Mth.clampedLerp` --- data/net/minecraft/util/Mth.mapping | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/net/minecraft/util/Mth.mapping b/data/net/minecraft/util/Mth.mapping index f7dd762d91..de4ecb4fe8 100644 --- a/data/net/minecraft/util/Mth.mapping +++ b/data/net/minecraft/util/Mth.mapping @@ -86,20 +86,20 @@ CLASS net/minecraft/util/Mth ARG 4 max METHOD clampedLerp (DDD)D COMMENT Method for linear interpolation of doubles. - ARG 0 start + ARG 0 delta + COMMENT A value between 0 and 1 that indicates the percentage of the lerp. (0 will give the start value and 1 will give the end value) If the value is not between 0 and 1, it is clamped. + ARG 2 start COMMENT Start value for the lerp. - ARG 2 end + ARG 4 end COMMENT End value for the lerp. - ARG 4 delta - COMMENT A value between 0 and 1 that indicates the percentage of the lerp. (0 will give the start value and 1 will give the end value) If the value is not between 0 and 1, it is clamped. METHOD clampedLerp (FFF)F COMMENT Method for linear interpolation of floats. - ARG 0 start + ARG 0 delta + COMMENT A value between 0 and 1 that indicates the percentage of the lerp. (0 will give the start value and 1 will give the end value) If the value is not between 0 and 1, it is clamped. + ARG 1 start COMMENT Start value for the lerp. - ARG 1 end + ARG 2 end COMMENT End value for the lerp. - ARG 2 delta - COMMENT A value between 0 and 1 that indicates the percentage of the lerp. (0 will give the start value and 1 will give the end value) If the value is not between 0 and 1, it is clamped. METHOD clampedMap (DDDDD)D ARG 0 input ARG 2 inputMin