Class SpriteContents.Animation

java.lang.Object
net.minecraft.client.texture.SpriteContents.Animation
Enclosing class:
SpriteContents

@Environment(CLIENT) private class SpriteContents.Animation extends Object
Mappings:
Namespace Name
official fyy$a
intermediary net/minecraft/class_7764$class_5790
named net/minecraft/client/texture/SpriteContents$Animation
  • Field Details

    • frames

      Mappings:
      Namespace Name Mixin selector
      official b Lfyy$a;b:Ljava/util/List;
      intermediary field_28472 Lnet/minecraft/class_7764$class_5790;field_28472:Ljava/util/List;
      named frames Lnet/minecraft/client/texture/SpriteContents$Animation;frames:Ljava/util/List;
    • frameCount

      private final int frameCount
      Mappings:
      Namespace Name Mixin selector
      official c Lfyy$a;c:I
      intermediary field_28473 Lnet/minecraft/class_7764$class_5790;field_28473:I
      named frameCount Lnet/minecraft/client/texture/SpriteContents$Animation;frameCount:I
    • interpolation

      private final boolean interpolation
      Mappings:
      Namespace Name Mixin selector
      official d Lfyy$a;d:Z
      intermediary field_40542 Lnet/minecraft/class_7764$class_5790;field_40542:Z
      named interpolation Lnet/minecraft/client/texture/SpriteContents$Animation;interpolation:Z
  • Constructor Details

    • Animation

      Animation(List<SpriteContents.AnimationFrame> frames, int frameCount, boolean interpolation)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfyy$a;<init>(Lfyy;Ljava/util/List;IZ)V
      intermediary <init> Lnet/minecraft/class_7764$class_5790;<init>(Lnet/minecraft/class_7764;Ljava/util/List;IZ)V
      named <init> Lnet/minecraft/client/texture/SpriteContents$Animation;<init>(Lnet/minecraft/client/texture/SpriteContents;Ljava/util/List;IZ)V
  • Method Details

    • getFrameX

      int getFrameX(int frame)
      Mappings:
      Namespace Name Mixin selector
      official a Lfyy$a;a(I)I
      intermediary method_33446 Lnet/minecraft/class_7764$class_5790;method_33446(I)I
      named getFrameX Lnet/minecraft/client/texture/SpriteContents$Animation;getFrameX(I)I
    • getFrameY

      int getFrameY(int frame)
      Mappings:
      Namespace Name Mixin selector
      official b Lfyy$a;b(I)I
      intermediary method_33451 Lnet/minecraft/class_7764$class_5790;method_33451(I)I
      named getFrameY Lnet/minecraft/client/texture/SpriteContents$Animation;getFrameY(I)I
    • upload

      void upload(int x, int y, int frame)
      Mappings:
      Namespace Name Mixin selector
      official a Lfyy$a;a(III)V
      intermediary method_33455 Lnet/minecraft/class_7764$class_5790;method_33455(III)V
      named upload Lnet/minecraft/client/texture/SpriteContents$Animation;upload(III)V
    • createAnimator

      public Animator createAnimator()
      Mappings:
      Namespace Name Mixin selector
      official a Lfyy$a;a()Lfza;
      intermediary method_45823 Lnet/minecraft/class_7764$class_5790;method_45823()Lnet/minecraft/class_7768;
      named createAnimator Lnet/minecraft/client/texture/SpriteContents$Animation;createAnimator()Lnet/minecraft/client/texture/Animator;
    • upload

      public void upload(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lfyy$a;a(II)V
      intermediary method_33445 Lnet/minecraft/class_7764$class_5790;method_33445(II)V
      named upload Lnet/minecraft/client/texture/SpriteContents$Animation;upload(II)V
    • getDistinctFrameCount

      public IntStream getDistinctFrameCount()
      Mappings:
      Namespace Name Mixin selector
      official b Lfyy$a;b()Ljava/util/stream/IntStream;
      intermediary method_33450 Lnet/minecraft/class_7764$class_5790;method_33450()Ljava/util/stream/IntStream;
      named getDistinctFrameCount Lnet/minecraft/client/texture/SpriteContents$Animation;getDistinctFrameCount()Ljava/util/stream/IntStream;