Restore some stuff lost in 21w41a update (#2752)

This commit is contained in:
enbrain 2021-10-14 21:04:00 +09:00 committed by GitHub
parent aa0334680e
commit 5b9509d95b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,10 @@ CLASS net/minecraft/class_332 net/minecraft/client/gui/DrawableHelper
COMMENT the width of the rectangle
ARG 7 height
COMMENT the height of the rectangle
ARG 8 textureWidth
COMMENT the width of the entire texture
ARG 9 textureHeight
COMMENT the height of the entire texture
METHOD method_25292 drawHorizontalLine (Lnet/minecraft/class_4587;IIII)V
ARG 1 matrices
ARG 2 x1

View File

@ -388,3 +388,4 @@ CLASS net/minecraft/class_3532 net/minecraft/util/math/MathHelper
METHOD method_38961 roundDownToMultiple (DI)I
COMMENT {@return {@code a} rounded down to the nearest multiple of {@code b}}
ARG 0 a
ARG 2 b

View File

@ -204,6 +204,7 @@ CLASS net/minecraft/class_2378 net/minecraft/util/registry/Registry
COMMENT Gets an entry from the registry.
COMMENT
COMMENT @throws IllegalStateException if the entry was not present in the registry
ARG 1 key
METHOD method_31189 getOrEmpty (Lnet/minecraft/class_5321;)Ljava/util/Optional;
ARG 1 key
METHOD method_35842 contains (Lnet/minecraft/class_5321;)Z