From d80319f717a2600d392873152db3af7083ce9e67 Mon Sep 17 00:00:00 2001 From: liach <7806504+liach@users.noreply.github.com> Date: Sun, 7 Feb 2021 07:31:16 -0600 Subject: [PATCH] Map one class in rendersytem (#2025) Signed-off-by: liach Co-authored-by: liach --- mappings/com/mojang/blaze3d/systems/RenderSystem.mapping | 9 ++++++++- .../net/minecraft/client/render/VertexFormat.mapping | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mappings/com/mojang/blaze3d/systems/RenderSystem.mapping b/mappings/com/mojang/blaze3d/systems/RenderSystem.mapping index 1a83293c45..1471ca70c4 100644 --- a/mappings/com/mojang/blaze3d/systems/RenderSystem.mapping +++ b/mappings/com/mojang/blaze3d/systems/RenderSystem.mapping @@ -236,12 +236,19 @@ CLASS com/mojang/blaze3d/systems/RenderSystem ARG 2 width ARG 3 height CLASS class_5590 IndexBuffer + FIELD field_27332 sizeMultiplier I + FIELD field_27333 increment I + FIELD field_27334 indexMapper Lcom/mojang/blaze3d/systems/RenderSystem$class_5590$class_5591; FIELD field_27335 id I FIELD field_27336 vertexFormat Lnet/minecraft/class_293$class_5595; FIELD field_27337 size I METHOD method_31919 getId ()I METHOD method_31920 grow (I)V ARG 1 newSize - METHOD method_31922 (Ljava/nio/ByteBuffer;)Lit/unimi/dsi/fastutil/ints/IntConsumer; + METHOD method_31922 getIndexConsumer (Ljava/nio/ByteBuffer;)Lit/unimi/dsi/fastutil/ints/IntConsumer; ARG 1 indicesBuffer METHOD method_31924 getVertexFormat ()Lnet/minecraft/class_293$class_5595; + CLASS class_5591 IndexMapper + METHOD accept (Lit/unimi/dsi/fastutil/ints/IntConsumer;I)V + ARG 1 indexConsumer + ARG 2 vertexCount diff --git a/mappings/net/minecraft/client/render/VertexFormat.mapping b/mappings/net/minecraft/client/render/VertexFormat.mapping index c44b5c62e0..18c7f260e2 100644 --- a/mappings/net/minecraft/client/render/VertexFormat.mapping +++ b/mappings/net/minecraft/client/render/VertexFormat.mapping @@ -33,5 +33,5 @@ CLASS net/minecraft/class_293 net/minecraft/client/render/VertexFormat FIELD field_27383 mode I METHOD (Ljava/lang/String;IIII)V ARG 3 mode - METHOD method_31973 (I)I + METHOD method_31973 getSize (I)I ARG 1 vertexCount