21w13a fixes

This commit is contained in:
modmuss50 2021-03-31 19:56:17 +01:00
parent 414cedb22f
commit c98e6786a5
3 changed files with 34 additions and 39 deletions

View File

@ -0,0 +1,33 @@
CLASS com/mojang/blaze3d/platform/TextureUtil
METHOD bind (I)V
ARG 0 id
METHOD initTexture (Ljava/nio/IntBuffer;II)V
ARG 0 imageData
ARG 1 width
ARG 2 height
METHOD prepareImage (III)V
ARG 0 id
ARG 1 width
ARG 2 height
METHOD prepareImage (IIII)V
ARG 0 id
ARG 1 maxLevel
ARG 2 width
ARG 3 height
METHOD prepareImage (Lnet/minecraft/class_1011$class_1013;III)V
ARG 0 internalFormat
ARG 1 id
ARG 2 width
ARG 3 height
METHOD prepareImage (Lnet/minecraft/class_1011$class_1013;IIII)V
ARG 0 internalFormat
ARG 1 id
ARG 2 maxLevel
ARG 3 width
ARG 4 height
METHOD readResource (Ljava/io/InputStream;)Ljava/nio/ByteBuffer;
ARG 0 inputStream
METHOD readResourceAsString (Ljava/io/InputStream;)Ljava/lang/String;
ARG 0 inputStream
METHOD releaseTextureId (I)V
ARG 0 id

View File

@ -1,38 +0,0 @@
CLASS com/mojang/blaze3d/platform/TextureUtil net/minecraft/client/texture/TextureUtil
METHOD bind (I)V
ARG 0 id
METHOD generateTextureId generateId ()I
METHOD initTexture uploadImage (Ljava/nio/IntBuffer;II)V
COMMENT Uploads {@code imageData} to the bound texture.
COMMENT Each integer is interpreted as 0xAARRGGBB.
ARG 0 imageData
ARG 1 width
ARG 2 height
METHOD prepareImage allocate (III)V
ARG 0 id
ARG 1 width
ARG 2 height
METHOD prepareImage allocate (IIII)V
ARG 0 id
ARG 1 maxLevel
ARG 2 width
ARG 3 height
METHOD prepareImage allocate (Lnet/minecraft/class_1011$class_1013;III)V
ARG 0 internalFormat
ARG 1 id
ARG 2 width
ARG 3 height
METHOD prepareImage allocate (Lnet/minecraft/class_1011$class_1013;IIII)V
COMMENT Allocate uninitialized backing memory for {@code maxLevel+1}
COMMENT mip levels to texture {@code id}.
ARG 0 internalFormat
ARG 1 id
ARG 2 maxLevel
ARG 3 width
ARG 4 height
METHOD readResource readAllToByteBuffer (Ljava/io/InputStream;)Ljava/nio/ByteBuffer;
ARG 0 inputStream
METHOD readResourceAsString readAllToString (Ljava/io/InputStream;)Ljava/lang/String;
ARG 0 inputStream
METHOD releaseTextureId deleteId (I)V
ARG 0 id

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/server/MinecraftServer net/minecraft/server/MinecraftServer
CLASS net/minecraft/server/MinecraftServer
COMMENT Represents a logical Minecraft server.
COMMENT
COMMENT <p>Since Minecraft uses a Client-Server architecture for the game, the server processes all logical game functions.