mirror of https://github.com/FabricMC/yarn.git
17 lines
667 B
Plaintext
17 lines
667 B
Plaintext
CLASS net/minecraft/class_7836 net/minecraft/util/math/Divider
|
|
COMMENT A class for dividing an integer into {@link #divisor} number of integers
|
|
COMMENT such that the difference between any integers is {@code 0} or {@code 1}.
|
|
COMMENT The resulting integers sum to the {@code dividend}.
|
|
COMMENT For example, {@code new Divider(13, 5)} will produce {@code 2, 3, 2, 3, 3}.
|
|
FIELD field_40738 divisor I
|
|
FIELD field_40739 quotient I
|
|
FIELD field_40740 mod I
|
|
FIELD field_40741 returnedCount I
|
|
FIELD field_40742 remainder I
|
|
METHOD <init> (II)V
|
|
ARG 1 dividend
|
|
ARG 2 divisor
|
|
METHOD method_46402 asIterable (II)Ljava/lang/Iterable;
|
|
ARG 0 dividend
|
|
ARG 1 divisor
|