Class AnimationResourceMetadata

java.lang.Object
net.minecraft.client.resource.metadata.AnimationResourceMetadata

@Environment(CLIENT)
public class AnimationResourceMetadata
extends Object
  • Field Details

  • Constructor Details

    • AnimationResourceMetadata

      public AnimationResourceMetadata​(List<AnimationFrameResourceMetadata> frames, int width, int height, int defaultFrameTime, boolean interpolate)
  • Method Details

    • method_24142

      private static boolean method_24142​(int int2, int int3)
    • method_24141

      public com.mojang.datafixers.util.Pair<Integer,​Integer> method_24141​(int int2, int int3)
    • getSize

      private com.mojang.datafixers.util.Pair<Integer,​Integer> getSize​(int defaultWidth, int defaultHeight)
    • getHeight

      public int getHeight​(int defaultHeight)
    • getWidth

      public int getWidth​(int defaultWidth)
    • getDefaultFrameTime

      public int getDefaultFrameTime()
    • shouldInterpolate

      public boolean shouldInterpolate()
    • method_33460

      public void method_33460​(AnimationResourceMetadata.class_5792 class_5792)