mirror of https://github.com/FabricMC/yarn.git
12 lines
593 B
Plaintext
12 lines
593 B
Plaintext
CLASS net/minecraft/class_4802 net/minecraft/util/TimeHelper
|
|
COMMENT A class holding utility methods related to time and durations.
|
|
FIELD field_33868 SECOND_IN_NANOS J
|
|
COMMENT The equivalent of 1 second, in nanoseconds. Is {@code 1000000000}.
|
|
FIELD field_33869 MILLI_IN_NANOS J
|
|
COMMENT The equivalent of 1 millisecond, in nanoseconds. Is {@code 1000000}.
|
|
METHOD method_24505 betweenSeconds (II)Lnet/minecraft/class_6019;
|
|
COMMENT {@return an int provider that provides a time in ticks, between {@code min * 20} and
|
|
COMMENT {@code max * 20} (both inclusive)}
|
|
ARG 0 min
|
|
ARG 1 max
|