diff --git a/mappings/net/minecraft/util/math/MathHelper.mapping b/mappings/net/minecraft/util/math/MathHelper.mapping index ce648c2409..798d4e4afb 100644 --- a/mappings/net/minecraft/util/math/MathHelper.mapping +++ b/mappings/net/minecraft/util/math/MathHelper.mapping @@ -86,9 +86,28 @@ CLASS net/minecraft/class_3532 net/minecraft/util/math/MathHelper METHOD method_15357 floor (D)I ARG 0 value METHOD method_15360 binarySearch (IILjava/util/function/IntPredicate;)I - ARG 0 start - ARG 1 end - ARG 2 leftPredicate + COMMENT Finds the minimum value in {@code [min, max)} that satisfies the + COMMENT monotonic {@code predicate}. + COMMENT + COMMENT
The {@code predicate} must be monotonic, i.e. if for any {@code a}, + COMMENT {@code predicate.test(a)} is {@code true}, then for all {@code b > a}, + COMMENT {@code predicate.test(b)} must also be {@code true}. + COMMENT + COMMENT
Examples: + COMMENT