mirror of https://github.com/FabricMC/yarn.git
Map Sprite sub classes (#2058)
This commit is contained in:
parent
7c00c4ffe2
commit
0120469e03
|
@ -4,6 +4,7 @@ CLASS net/minecraft/class_1058 net/minecraft/client/texture/Sprite
|
|||
FIELD field_28465 id Lnet/minecraft/class_2960;
|
||||
FIELD field_28466 width I
|
||||
FIELD field_28467 height I
|
||||
FIELD field_28468 animation Lnet/minecraft/class_1058$class_5790;
|
||||
FIELD field_5256 y I
|
||||
FIELD field_5258 x I
|
||||
FIELD field_5262 images [Lnet/minecraft/class_1011;
|
||||
|
@ -21,6 +22,13 @@ CLASS net/minecraft/class_1058 net/minecraft/client/texture/Sprite
|
|||
METHOD method_23842 getAnimationFrameDelta ()F
|
||||
METHOD method_24108 getTextureSpecificVertexConsumer (Lnet/minecraft/class_4588;)Lnet/minecraft/class_4588;
|
||||
METHOD method_24119 getAtlas ()Lnet/minecraft/class_1059;
|
||||
METHOD method_33437 (Lnet/minecraft/class_1058$class_4727;III)Lnet/minecraft/class_1058$class_5790;
|
||||
ARG 2 nativeImageWidth
|
||||
ARG 3 nativeImageHeight
|
||||
ARG 4 maxLevel
|
||||
METHOD method_33440 (Ljava/util/List;II)V
|
||||
ARG 1 index
|
||||
ARG 2 time
|
||||
METHOD method_4570 getFrameV (D)F
|
||||
ARG 1 frame
|
||||
METHOD method_4575 getMaxV ()F
|
||||
|
@ -71,3 +79,26 @@ CLASS net/minecraft/class_1058 net/minecraft/client/texture/Sprite
|
|||
ARG 4 from
|
||||
METHOD method_24130 getPixelColor (Lnet/minecraft/class_1058$class_5790;IIII)I
|
||||
COMMENT Returns the pixel color at frame {@code frameIndex} within mipmap {@code layer} at sprite relative coordinates.
|
||||
ARG 2 frameIndex
|
||||
CLASS class_5790 Animation
|
||||
FIELD field_28470 frameIndex I
|
||||
FIELD field_28471 frameTicks I
|
||||
FIELD field_28472 frames Ljava/util/List;
|
||||
FIELD field_28473 frameCount I
|
||||
FIELD field_28474 interpolation Lnet/minecraft/class_1058$class_4728;
|
||||
METHOD <init> (Lnet/minecraft/class_1058;Ljava/util/List;ILnet/minecraft/class_1058$class_4728;)V
|
||||
ARG 2 frames
|
||||
ARG 3 frameCount
|
||||
METHOD method_33445 upload ()V
|
||||
METHOD method_33446 getFrameX (I)I
|
||||
ARG 1 frame
|
||||
METHOD method_33451 getFrameY (I)I
|
||||
ARG 1 frame
|
||||
METHOD method_33455 upload (I)V
|
||||
ARG 1 frameIndex
|
||||
CLASS class_5791 AnimationFrame
|
||||
FIELD field_28475 index I
|
||||
FIELD field_28476 time I
|
||||
METHOD <init> (II)V
|
||||
ARG 1 index
|
||||
ARG 2 time
|
||||
|
|
Loading…
Reference in New Issue