Model part cuboid consumer (#2310)

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2021-04-11 19:08:29 +07:00 committed by GitHub
parent d683a756a7
commit 64b96381c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -55,6 +55,16 @@ CLASS net/minecraft/class_630 net/minecraft/client/model/ModelPart
ARG 1 pitch
ARG 2 yaw
ARG 3 roll
METHOD method_35745 forEachCuboid (Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;)V
ARG 1 matrices
ARG 2 consumer
METHOD method_35746 forEachCuboid (Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;Ljava/lang/String;)V
ARG 1 matrices
ARG 2 consumer
ARG 3 path
METHOD method_35747 (Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_630;)V
ARG 3 name
ARG 4 part
CLASS class_593 Quad
FIELD field_21618 direction Lnet/minecraft/class_1160;
FIELD field_3502 vertices [Lnet/minecraft/class_630$class_618;
@ -117,3 +127,16 @@ CLASS net/minecraft/class_630 net/minecraft/client/model/ModelPart
ARG 6 green
ARG 7 blue
ARG 8 alpha
CLASS class_6229 CuboidConsumer
METHOD method_35748 accept (Lnet/minecraft/class_4587$class_4665;Ljava/lang/String;ILnet/minecraft/class_630$class_628;)V
COMMENT Accepts a cuboid from a model part.
COMMENT
COMMENT @see ModelPart#forEachCuboid(MatrixStack, CuboidConsumer)
ARG 1 matrix
COMMENT the current matrix transformation from the model parts
ARG 2 path
COMMENT the path of the current model part, separated by {@code /}
ARG 3 index
COMMENT the index of the current cuboid in the current model part
ARG 4 cuboid
COMMENT the current cuboid