Glint layer mappings (#1484)

* mapped the item glint layer methods

* Rename the fields to match the methods
This commit is contained in:
­Sollace 2020-10-02 00:30:55 +02:00 committed by GitHub
parent c436f489b3
commit 175bf8ce1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 8 deletions

View File

@ -5,6 +5,8 @@ CLASS net/minecraft/class_1921 net/minecraft/client/render/RenderLayer
FIELD field_20975 hasCrumbling Z
FIELD field_21402 translucent Z
FIELD field_21850 optionalThis Ljava/util/Optional;
FIELD field_25487 DIRECT_GLINT Lnet/minecraft/class_1921;
FIELD field_25488 DIRECT_ENTITY_GLINT Lnet/minecraft/class_1921;
METHOD <init> (Ljava/lang/String;Lnet/minecraft/class_293;IIZZLjava/lang/Runnable;Ljava/lang/Runnable;)V
ARG 1 name
ARG 2 vertexFormat
@ -115,8 +117,8 @@ CLASS net/minecraft/class_1921 net/minecraft/client/render/RenderLayer
ARG 0 texture
METHOD method_29380 getTranslucentMovingBlock ()Lnet/minecraft/class_1921;
METHOD method_29381 getItemPhaseData ()Lnet/minecraft/class_1921$class_4688;
METHOD method_29706 getGlintDirect ()Lnet/minecraft/class_1921;
METHOD method_29707 getEntityGlintDirect ()Lnet/minecraft/class_1921;
METHOD method_29706 getDirectGlint ()Lnet/minecraft/class_1921;
METHOD method_29707 getDirectEntityGlint ()Lnet/minecraft/class_1921;
METHOD method_29996 getTripwirePhaseData ()Lnet/minecraft/class_1921$class_4688;
METHOD method_29997 getTripwire ()Lnet/minecraft/class_1921;
CLASS class_4687 MultiPhase

View File

@ -42,7 +42,7 @@ CLASS net/minecraft/class_918 net/minecraft/client/render/item/ItemRenderer
ARG 4 stack
ARG 5 light
ARG 6 overlay
METHOD method_23181 getGlintVertexConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;ZZ)Lnet/minecraft/class_4588;
METHOD method_23181 getItemGlintConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;ZZ)Lnet/minecraft/class_4588;
ARG 0 vertexConsumers
ARG 1 layer
ARG 2 solid
@ -62,8 +62,8 @@ CLASS net/minecraft/class_918 net/minecraft/client/render/item/ItemRenderer
ARG 2 stack
ARG 3 x
ARG 4 y
METHOD method_27952 getArmorVertexConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;ZZ)Lnet/minecraft/class_4588;
ARG 0 vertexConsumers
METHOD method_27952 getArmorGlintConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;ZZ)Lnet/minecraft/class_4588;
ARG 0 provider
ARG 1 layer
ARG 2 solid
ARG 3 glint
@ -72,11 +72,19 @@ CLASS net/minecraft/class_918 net/minecraft/client/render/item/ItemRenderer
ARG 1 stack
ARG 2 x
ARG 3 y
METHOD method_29711 getDirectGlintVertexConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;ZZ)Lnet/minecraft/class_4588;
METHOD method_29711 getDirectItemGlintConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;ZZ)Lnet/minecraft/class_4588;
ARG 0 provider
ARG 1 layer
ARG 2 solid
ARG 3 glint
METHOD method_30114 getGlintVertexConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;Lnet/minecraft/class_4587$class_4665;)Lnet/minecraft/class_4588;
METHOD method_30115 getDirectGlintVertexConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;Lnet/minecraft/class_4587$class_4665;)Lnet/minecraft/class_4588;
METHOD method_30114 getCompassGlintConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;Lnet/minecraft/class_4587$class_4665;)Lnet/minecraft/class_4588;
ARG 0 provider
ARG 1 layer
ARG 2 entry
METHOD method_30115 getDirectCompassGlintConsumer (Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;Lnet/minecraft/class_4587$class_4665;)Lnet/minecraft/class_4588;
ARG 0 provider
ARG 1 layer
ARG 2 entry
METHOD method_4004 renderGuiQuad (Lnet/minecraft/class_287;IIIIIIII)V
ARG 1 buffer
ARG 2 x