yarn/mappings/net/minecraft/client/texture/Sprite.mapping

87 lines
3.2 KiB
Plaintext

CLASS net/minecraft/class_1058 net/minecraft/client/texture/Sprite
FIELD field_21750 atlas Lnet/minecraft/class_1059;
FIELD field_21751 info Lnet/minecraft/class_1058$class_4727;
FIELD field_21752 interpolation Lnet/minecraft/class_1058$class_4728;
FIELD field_5256 y I
FIELD field_5258 x I
FIELD field_5262 images [Lnet/minecraft/class_1011;
FIELD field_5264 frameYs [I
FIELD field_5265 frameXs [I
FIELD field_5267 vMax F
FIELD field_5268 vMin F
FIELD field_5269 uMax F
FIELD field_5270 uMin F
FIELD field_5271 animationMetadata Lnet/minecraft/class_1079;
FIELD field_5272 frameTicks I
COMMENT The tick position within the current frame.
COMMENT Resets to 0 on every frame advance.
FIELD field_5273 frameIndex I
METHOD <init> (Lnet/minecraft/class_1059;Lnet/minecraft/class_1058$class_4727;IIIIILnet/minecraft/class_1011;)V
ARG 3 maxLevel
ARG 4 atlasWidth
ARG 5 atlasHeight
ARG 6 x
ARG 7 y
METHOD method_23841 getFrameDeltaFactor ()F
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_4570 getFrameV (D)F
ARG 1 frame
METHOD method_4573 upload (I)V
ARG 1 frame
METHOD method_4575 getMaxV ()F
METHOD method_4577 getMaxU ()F
METHOD method_4578 getWidth ()I
METHOD method_4579 upload (II[Lnet/minecraft/class_1011;)V
ARG 1 frameX
ARG 2 frameY
ARG 3 output
METHOD method_4580 getFrameU (D)F
ARG 1 frame
METHOD method_4583 isPixelTransparent (III)Z
ARG 1 frame
ARG 2 x
ARG 3 y
METHOD method_4584 upload ()V
METHOD method_4592 getFrameCount ()I
METHOD method_4593 getMinV ()F
METHOD method_4594 getMinU ()F
METHOD method_4595 getHeight ()I
METHOD method_4597 tickAnimation ()V
METHOD method_4598 getId ()Lnet/minecraft/class_2960;
METHOD method_4599 isAnimated ()Z
CLASS class_4727 Info
FIELD field_21753 id Lnet/minecraft/class_2960;
FIELD field_21754 width I
FIELD field_21755 height I
FIELD field_21756 animationData Lnet/minecraft/class_1079;
METHOD <init> (Lnet/minecraft/class_2960;IILnet/minecraft/class_1079;)V
ARG 1 id
ARG 2 width
ARG 3 height
ARG 4 animationData
METHOD method_24121 getId ()Lnet/minecraft/class_2960;
METHOD method_24123 getWidth ()I
METHOD method_24125 getHeight ()I
CLASS class_4728 Interpolation
FIELD field_21758 images [Lnet/minecraft/class_1011;
METHOD <init> (Lnet/minecraft/class_1058;Lnet/minecraft/class_1058$class_4727;I)V
ARG 3 mipmap
METHOD method_24128 apply ()V
COMMENT Linearly interpolate between the current and next frame on all mip levels
COMMENT based on the tick position within the current frame,
COMMENT and upload the results to the currently bound texture to the frame slot at position (0,0).
METHOD method_24129 lerp (DII)I
COMMENT Purely mathematical single-value linear interpolation.
COMMENT {@code lerp(0, a, b) == b}, {@code lerp(1, a, b) == a}.
ARG 1 delta
ARG 3 to
ARG 4 from
METHOD method_24130 getPixelColor (IIII)I
COMMENT Returns the pixel color at frame {@code frameIndex} within mipmap {@code layer} at sprite relative coordinates.
ARG 1 frameIndex
ARG 2 layer
ARG 3 x
ARG 4 y