Add mappings for VertexFormat changes. (#1852)

* Add mappings for VertexFormat changes.

* Update mappings/net/minecraft/client/render/VertexFormat.mapping

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
This commit is contained in:
LambdAurora 2020-11-06 15:25:59 +01:00 committed by GitHub
parent bcbbc58af5
commit 65b7048e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -17,6 +17,7 @@ CLASS net/minecraft/class_287 net/minecraft/client/render/BufferBuilder
METHOD method_1324 restoreState (Lnet/minecraft/class_287$class_5594;)V
METHOD method_1326 end ()V
METHOD method_1328 begin (Lnet/minecraft/class_293$class_5596;Lnet/minecraft/class_293;)V
ARG 1 drawMode
ARG 2 format
METHOD method_1334 popState ()Lnet/minecraft/class_287$class_5594;
METHOD method_1335 grow (I)V
@ -28,6 +29,8 @@ CLASS net/minecraft/class_287 net/minecraft/client/render/BufferBuilder
METHOD method_22892 grow ()V
METHOD method_22893 isBuilding ()Z
METHOD method_23477 reset ()V
METHOD method_23918 setFormat (Lnet/minecraft/class_293;)V
ARG 1 format
CLASS class_4574 DrawArrayParameters
FIELD field_20779 vertexFormat Lnet/minecraft/class_293;
FIELD field_20780 count I

View File

@ -10,3 +10,28 @@ CLASS net/minecraft/class_293 net/minecraft/client/render/VertexFormat
METHOD method_22649 startDrawing (J)V
ARG 1 pointer
METHOD method_22651 endDrawing ()V
CLASS class_5595 IntType
FIELD field_27371 BYTE Lnet/minecraft/class_293$class_5595;
FIELD field_27372 SHORT Lnet/minecraft/class_293$class_5595;
FIELD field_27373 INT Lnet/minecraft/class_293$class_5595;
FIELD field_27375 size I
METHOD <init> (Ljava/lang/String;III)V
ARG 4 size
METHOD method_31972 getSmallestTypeFor (I)Lnet/minecraft/class_293$class_5595;
COMMENT Gets the smallest type in which the given number fits.
COMMENT
COMMENT @return the smallest type
ARG 0 number
COMMENT a number from 8 to 32 bits of memory
CLASS class_5596 DrawMode
FIELD field_27377 LINES Lnet/minecraft/class_293$class_5596;
FIELD field_27378 LINE_STRIP Lnet/minecraft/class_293$class_5596;
FIELD field_27379 TRIANGLES Lnet/minecraft/class_293$class_5596;
FIELD field_27380 TRIANGLE_STRIP Lnet/minecraft/class_293$class_5596;
FIELD field_27381 TRIANGLE_FAN Lnet/minecraft/class_293$class_5596;
FIELD field_27382 QUADS Lnet/minecraft/class_293$class_5596;
FIELD field_27383 mode I
METHOD <init> (Ljava/lang/String;IIII)V
ARG 3 mode
METHOD method_31973 (I)I
ARG 1 vertexCount