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
named net/minecraft/client/texture/SpriteContents$Animation
intermediary net/minecraft/class_7764$class_5790
official hbe$a
  • 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 Lhbe$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 Lhbe$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 Lhbe$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> Lhbe$a;<init>(Lhbe;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 Lhbe$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 Lhbe$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 Lhbe$a;a(III)V
    • createAnimator

      public Animator 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 Lhbe$a;a()Lhbg;
    • 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 Lhbe$a;a(II)V
    • getDistinctFrameCount

      public IntStream 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 Lhbe$a;b()Ljava/util/stream/IntStream;