Class SpriteContents.AnimatorImpl

java.lang.Object
net.minecraft.client.texture.SpriteContents.AnimatorImpl
All Implemented Interfaces:
AutoCloseable, Animator
Enclosing class:
SpriteContents

@Environment(CLIENT) private class SpriteContents.AnimatorImpl extends Object implements Animator
Mappings:
Namespace Name
official fyy$d
intermediary net/minecraft/class_7764$class_7765
named net/minecraft/client/texture/SpriteContents$AnimatorImpl
  • 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

      final SpriteContents.Animation 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

      @Nullable private final @Nullable SpriteContents.Interpolation 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)
      Specified by:
      tick in interface Animator
      Mappings:
      Namespace Name Mixin selector
      official a Lfza;a(II)V
      intermediary method_45824 Lnet/minecraft/class_7768;method_45824(II)V
      named tick Lnet/minecraft/client/texture/Animator;tick(II)V
    • close

      public void close()
      Specified by:
      close in interface Animator
      Specified by:
      close in interface AutoCloseable