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
named net/minecraft/client/texture/SpriteContents$AnimatorImpl
intermediary net/minecraft/class_7764$class_7765
official gpk$d
  • Field Details

    • frame

      int frame
      Mappings:
      Namespace Name Mixin selector
      named frame Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;frame:I
      intermediary field_40544 Lnet/minecraft/class_7764$class_7765;field_40544:I
      official a Lgpk$d;a:I
    • currentTime

      int currentTime
      Mappings:
      Namespace Name Mixin selector
      named currentTime Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;currentTime:I
      intermediary field_40545 Lnet/minecraft/class_7764$class_7765;field_40545:I
      official b Lgpk$d;b:I
    • animation

      final SpriteContents.Animation animation
      Mappings:
      Namespace Name Mixin selector
      named animation Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;animation:Lnet/minecraft/client/texture/SpriteContents$Animation;
      intermediary field_40546 Lnet/minecraft/class_7764$class_7765;field_40546:Lnet/minecraft/class_7764$class_5790;
      official c Lgpk$d;c:Lgpk$a;
    • interpolation

      @Nullable private final @Nullable SpriteContents.Interpolation interpolation
      Mappings:
      Namespace Name Mixin selector
      named interpolation Lnet/minecraft/client/texture/SpriteContents$AnimatorImpl;interpolation:Lnet/minecraft/client/texture/SpriteContents$Interpolation;
      intermediary field_40547 Lnet/minecraft/class_7764$class_7765;field_40547:Lnet/minecraft/class_7764$class_4728;
      official d Lgpk$d;d:Lgpk$c;
  • Constructor Details

    • AnimatorImpl

      Mappings:
      Namespace Name Mixin selector
      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
      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
      official <init> Lgpk$d;<init>(Lgpk;Lgpk$a;Lgpk$c;)V
  • Method Details

    • tick

      public void tick(int x, int y)
      Specified by:
      tick in interface Animator
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/texture/Animator;tick(II)V
      intermediary method_45824 Lnet/minecraft/class_7768;method_45824(II)V
      official a Lgpm;a(II)V
    • close

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