Class AnimationMetadataSection

java.lang.Object
net.minecraft.client.resources.metadata.animation.AnimationMetadataSection

public class AnimationMetadataSection extends Object
  • Field Details

  • Constructor Details

    • AnimationMetadataSection

      public AnimationMetadataSection(List<AnimationFrame> p_119020_, int p_119021_, int p_119022_, int p_119023_, boolean p_119024_)
  • Method Details

    • isDivisionInteger

      private static boolean isDivisionInteger(int p_119034_, int p_119035_)
    • getFrameSize

      public com.mojang.datafixers.util.Pair<Integer,Integer> getFrameSize(int p_119028_, int p_119029_)
    • calculateFrameSize

      private com.mojang.datafixers.util.Pair<Integer,Integer> calculateFrameSize(int p_119040_, int p_119041_)
    • getFrameHeight

      public int getFrameHeight(int p_119027_)
    • getFrameWidth

      public int getFrameWidth(int p_119032_)
    • getDefaultFrameTime

      public int getDefaultFrameTime()
    • isInterpolatedFrames

      public boolean isInterpolatedFrames()
    • forEachFrame

      public void forEachFrame(AnimationMetadataSection.FrameOutput p_174862_)