Skip to content

Commit 468d04e

Browse files
authored
Fix parameter reorder in Mth.clampedLerp
1 parent c157e99 commit 468d04e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

data/net/minecraft/util/Mth.mapping

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,20 @@ CLASS net/minecraft/util/Mth
8686
ARG 4 max
8787
METHOD clampedLerp (DDD)D
8888
COMMENT Method for linear interpolation of doubles.
89-
ARG 0 start
89+
ARG 0 delta
90+
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.
91+
ARG 2 start
9092
COMMENT Start value for the lerp.
91-
ARG 2 end
93+
ARG 4 end
9294
COMMENT End value for the lerp.
93-
ARG 4 delta
94-
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.
9595
METHOD clampedLerp (FFF)F
9696
COMMENT Method for linear interpolation of floats.
97-
ARG 0 start
97+
ARG 0 delta
98+
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.
99+
ARG 1 start
98100
COMMENT Start value for the lerp.
99-
ARG 1 end
101+
ARG 2 end
100102
COMMENT End value for the lerp.
101-
ARG 2 delta
102-
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.
103103
METHOD clampedMap (DDDDD)D
104104
ARG 0 input
105105
ARG 2 inputMin

0 commit comments

Comments
 (0)