Package net.minecraft.client.texture
Class SpriteContents.AnimatorImpl
java.lang.Object
net.minecraft.client.texture.SpriteContents.AnimatorImpl
- All Implemented Interfaces:
AutoCloseable
,Animator
- Enclosing class:
SpriteContents
- Mappings:
Namespace Name official fyy$d
intermediary net/minecraft/class_7764$class_7765
named net/minecraft/client/texture/SpriteContents$AnimatorImpl
-
Field Summary
Modifier and TypeFieldDescription(package private) final SpriteContents.Animation
(package private) int
(package private) int
private final @Nullable SpriteContents.Interpolation
-
Constructor Summary
ConstructorDescriptionAnimatorImpl
(SpriteContents.Animation animation, @Nullable SpriteContents.Interpolation interpolation) -
Method Summary
-
Field Details
-
frame
int frame- Mappings:
Namespace Name Mixin selector official b
Lfyy$d;b:I
intermediary field_40544
Lnet/minecraft/class_7764$class_7765;field_40544:I
named frame
Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;frame:I
-
currentTime
int currentTime- Mappings:
Namespace Name Mixin selector official c
Lfyy$d;c:I
intermediary field_40545
Lnet/minecraft/class_7764$class_7765;field_40545:I
named currentTime
Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;currentTime:I
-
animation
- Mappings:
Namespace Name Mixin selector official d
Lfyy$d;d:Lfyy$a;
intermediary field_40546
Lnet/minecraft/class_7764$class_7765;field_40546:Lnet/minecraft/class_7764$class_5790;
named animation
Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;animation:Lnet/minecraft/client/texture/SpriteContents$Animation;
-
interpolation
- Mappings:
Namespace Name Mixin selector official e
Lfyy$d;e:Lfyy$c;
intermediary field_40547
Lnet/minecraft/class_7764$class_7765;field_40547:Lnet/minecraft/class_7764$class_4728;
named interpolation
Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;interpolation:Lnet/minecraft/client/texture/SpriteContents$Interpolation;
-
-
Constructor Details
-
AnimatorImpl
AnimatorImpl(SpriteContents.Animation animation, @Nullable @Nullable SpriteContents.Interpolation interpolation) - Mappings:
Namespace Name Mixin selector official <init>
Lfyy$d;<init>(Lfyy;Lfyy$a;Lfyy$c;)V
intermediary <init>
Lnet/minecraft/class_7764$class_7765;<init>(Lnet/minecraft/class_7764;Lnet/minecraft/class_7764$class_5790;Lnet/minecraft/class_7764$class_4728;)V
named <init>
Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;<init>(Lnet/minecraft/client/texture/SpriteContents;Lnet/minecraft/client/texture/SpriteContents$Animation;Lnet/minecraft/client/texture/SpriteContents$Interpolation;)V
-
-
Method Details
-
tick
public void tick(int x, int y) -
close
public void close()- Specified by:
close
in interfaceAnimator
- Specified by:
close
in interfaceAutoCloseable
-