Package net.minecraft.client.texture
Class SpriteContents.Animation
java.lang.Object
net.minecraft.client.texture.SpriteContents.Animation
- Enclosing class:
SpriteContents
- Mappings:
Namespace Name named net/minecraft/client/texture/SpriteContents$Animation
intermediary net/minecraft/class_7764$class_5790
official gou$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
(package private) final List
<SpriteContents.AnimationFrame> private final boolean
-
Constructor Summary
ConstructorDescriptionAnimation
(List<SpriteContents.AnimationFrame> frames, int frameCount, boolean interpolation) -
Method Summary
-
Field Details
-
frames
- Mappings:
Namespace Name Mixin selector named frames
Lnet/minecraft/client/texture/SpriteContents$Animation;frames:Ljava/util/List;
intermediary field_28472
Lnet/minecraft/class_7764$class_5790;field_28472:Ljava/util/List;
official b
Lgou$a;b:Ljava/util/List;
-
frameCount
private final int frameCount- Mappings:
Namespace Name Mixin selector named frameCount
Lnet/minecraft/client/texture/SpriteContents$Animation;frameCount:I
intermediary field_28473
Lnet/minecraft/class_7764$class_5790;field_28473:I
official c
Lgou$a;c:I
-
interpolation
private final boolean interpolation- Mappings:
Namespace Name Mixin selector named interpolation
Lnet/minecraft/client/texture/SpriteContents$Animation;interpolation:Z
intermediary field_40542
Lnet/minecraft/class_7764$class_5790;field_40542:Z
official d
Lgou$a;d:Z
-
-
Constructor Details
-
Animation
Animation(List<SpriteContents.AnimationFrame> frames, int frameCount, boolean interpolation) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/texture/SpriteContents$Animation;<init>(Lnet/minecraft/client/texture/SpriteContents;Ljava/util/List;IZ)V
intermediary <init>
Lnet/minecraft/class_7764$class_5790;<init>(Lnet/minecraft/class_7764;Ljava/util/List;IZ)V
official <init>
Lgou$a;<init>(Lgou;Ljava/util/List;IZ)V
-
-
Method Details
-
getFrameX
int getFrameX(int frame) - Mappings:
Namespace Name Mixin selector named getFrameX
Lnet/minecraft/client/texture/SpriteContents$Animation;getFrameX(I)I
intermediary method_33446
Lnet/minecraft/class_7764$class_5790;method_33446(I)I
official a
Lgou$a;a(I)I
-
getFrameY
int getFrameY(int frame) - Mappings:
Namespace Name Mixin selector named getFrameY
Lnet/minecraft/client/texture/SpriteContents$Animation;getFrameY(I)I
intermediary method_33451
Lnet/minecraft/class_7764$class_5790;method_33451(I)I
official b
Lgou$a;b(I)I
-
upload
void upload(int x, int y, int frame) - Mappings:
Namespace Name Mixin selector named upload
Lnet/minecraft/client/texture/SpriteContents$Animation;upload(III)V
intermediary method_33455
Lnet/minecraft/class_7764$class_5790;method_33455(III)V
official a
Lgou$a;a(III)V
-
createAnimator
- Mappings:
Namespace Name Mixin selector named createAnimator
Lnet/minecraft/client/texture/SpriteContents$Animation;createAnimator()Lnet/minecraft/client/texture/Animator;
intermediary method_45823
Lnet/minecraft/class_7764$class_5790;method_45823()Lnet/minecraft/class_7768;
official a
Lgou$a;a()Lgow;
-
upload
public void upload(int x, int y) - Mappings:
Namespace Name Mixin selector named upload
Lnet/minecraft/client/texture/SpriteContents$Animation;upload(II)V
intermediary method_33445
Lnet/minecraft/class_7764$class_5790;method_33445(II)V
official a
Lgou$a;a(II)V
-
getDistinctFrameCount
- Mappings:
Namespace Name Mixin selector named getDistinctFrameCount
Lnet/minecraft/client/texture/SpriteContents$Animation;getDistinctFrameCount()Ljava/util/stream/IntStream;
intermediary method_33450
Lnet/minecraft/class_7764$class_5790;method_33450()Ljava/util/stream/IntStream;
official b
Lgou$a;b()Ljava/util/stream/IntStream;
-