From 2b670d1f5714e64e434159461032ecf0c99b761d Mon Sep 17 00:00:00 2001 From: Sebastian Knackstedt Date: Wed, 16 Jan 2019 21:48:45 +0100 Subject: [PATCH] Add buffer builder mappings (#405) --- .../client/render/BufferBuilder.mapping | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/mappings/net/minecraft/client/render/BufferBuilder.mapping b/mappings/net/minecraft/client/render/BufferBuilder.mapping index 4c5231907c..7250f04c3f 100644 --- a/mappings/net/minecraft/client/render/BufferBuilder.mapping +++ b/mappings/net/minecraft/client/render/BufferBuilder.mapping @@ -20,11 +20,16 @@ CLASS cpo net/minecraft/client/render/BufferBuilder FIELD m offsetZ D FIELD n format Lcpu; FIELD o building Z + METHOD (I)V + ARG 1 size METHOD a toBufferState ()Lcpo$a; METHOD a texture (DD)Lcpo; ARG 1 u + ARG 3 v METHOD a postPosition (DDD)V ARG 1 x + ARG 3 y + ARG 5 z METHOD a sortQuads (FFF)V METHOD a color (FFFF)Lcpo; ARG 1 red @@ -34,9 +39,12 @@ CLASS cpo net/minecraft/client/render/BufferBuilder ARG 1 red ARG 2 green ARG 3 blue + ARG 4 index METHOD a setQuadColor (I)V + ARG 1 color METHOD a texture (II)Lcpo; ARG 1 u + ARG 2 v METHOD a clamp (III)I ARG 0 value ARG 1 min @@ -56,12 +64,17 @@ CLASS cpo net/minecraft/client/render/BufferBuilder METHOD b postNormal (FFF)V ARG 1 x ARG 2 y + ARG 3 z METHOD b setColor (FFFI)V ARG 1 red ARG 2 green ARG 3 blue + ARG 4 index METHOD b grow (I)V + ARG 1 size METHOD b setColor (II)V + ARG 1 color + ARG 2 index METHOD b color (IIII)Lcpo; ARG 1 red ARG 2 green @@ -69,19 +82,24 @@ CLASS cpo net/minecraft/client/render/BufferBuilder METHOD c disableColor ()V METHOD c setOffset (DDD)V ARG 1 x + ARG 3 y + ARG 5 z METHOD c normal (FFF)Lcpo; ARG 1 x ARG 2 y + ARG 3 z METHOD c roundBufferSize (I)I ARG 0 amount METHOD c setColor (IIII)V ARG 1 colorIndex ARG 2 red ARG 3 blue + ARG 4 index METHOD d next ()V METHOD d setQuadColor (FFF)V ARG 1 red ARG 2 green + ARG 3 blue METHOD d getColorIndex (I)I METHOD e end ()V METHOD f getByteBuffer ()Ljava/nio/ByteBuffer;