Some NativeImage methods (#2522)

* Some NativeImage methods

* getColorOrLuminance -> getColor
This commit is contained in:
Alexander 2021-06-28 17:21:44 +03:00 committed by GitHub
parent ec09b29d49
commit 1763ecc994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -52,6 +52,26 @@ CLASS net/minecraft/class_1011 net/minecraft/client/texture/NativeImage
METHOD method_24035 getBlue (I)I
ARG 0 color
METHOD method_24036 getBytes ()[B
METHOD method_35621 setPixelLuminance (IIB)V
ARG 1 x
ARG 2 y
ARG 3 luminance
METHOD method_35623 getRed (II)B
ARG 1 x
ARG 2 y
METHOD method_35624 blendPixel (III)V
ARG 1 x
ARG 2 y
ARG 3 color
METHOD method_35625 getGreen (II)B
ARG 1 x
ARG 2 y
METHOD method_35626 getBlue (II)B
ARG 1 x
ARG 2 y
METHOD method_36559 isOutOfBounds (II)Z
ARG 1 x
ARG 2 y
METHOD method_4300 resizeSubRectTo (IIIILnet/minecraft/class_1011;)V
ARG 1 x
ARG 2 y
@ -65,6 +85,7 @@ CLASS net/minecraft/class_1011 net/minecraft/client/texture/NativeImage
ARG 4 close
METHOD method_4302 untrack ()V
METHOD method_4303 read (Lnet/minecraft/class_1011$class_1012;Ljava/nio/ByteBuffer;)Lnet/minecraft/class_1011;
ARG 0 format
METHOD method_4304 copyRect (IIIIIIZZ)V
ARG 1 x
ARG 2 y
@ -88,6 +109,7 @@ CLASS net/minecraft/class_1011 net/minecraft/client/texture/NativeImage
ARG 1 mipmap
METHOD method_4309 read (Ljava/io/InputStream;)Lnet/minecraft/class_1011;
METHOD method_4310 read (Lnet/minecraft/class_1011$class_1012;Ljava/io/InputStream;)Lnet/minecraft/class_1011;
ARG 0 format
METHOD method_4311 getPixelOpacity (II)B
ARG 1 x
ARG 2 y