Class AnimationMetadata

java.lang.Object
net.minecraft.client.resource.AnimationMetadata
All Implemented Interfaces:
ResourceMetadataProvider

@Environment(CLIENT) public class AnimationMetadata extends Object implements ResourceMetadataProvider
Mappings:
Namespace Name
official cwo
intermediary net/minecraft/class_1674
named net/minecraft/client/resource/AnimationMetadata
  • Field Details

    • metadataList

      private final List metadataList
      Mappings:
      Namespace Name Mixin selector
      official a Lcwo;a:Ljava/util/List;
      intermediary field_6664 Lnet/minecraft/class_1674;field_6664:Ljava/util/List;
      named metadataList Lnet/minecraft/client/resource/AnimationMetadata;metadataList:Ljava/util/List;
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      official b Lcwo;b:I
      intermediary field_6665 Lnet/minecraft/class_1674;field_6665:I
      named width Lnet/minecraft/client/resource/AnimationMetadata;width:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official c Lcwo;c:I
      intermediary field_6666 Lnet/minecraft/class_1674;field_6666:I
      named height Lnet/minecraft/client/resource/AnimationMetadata;height:I
    • time

      private final int time
      Mappings:
      Namespace Name Mixin selector
      official d Lcwo;d:I
      intermediary field_6667 Lnet/minecraft/class_1674;field_6667:I
      named time Lnet/minecraft/client/resource/AnimationMetadata;time:I
    • interpolate

      private final boolean interpolate
      Mappings:
      Namespace Name Mixin selector
      official e Lcwo;e:Z
      intermediary field_11272 Lnet/minecraft/class_1674;field_11272:Z
      named interpolate Lnet/minecraft/client/resource/AnimationMetadata;interpolate:Z
  • Constructor Details

    • AnimationMetadata

      public AnimationMetadata(List metadataList, int width, int height, int time, boolean interpolate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcwo;<init>(Ljava/util/List;IIIZ)V
      intermediary <init> Lnet/minecraft/class_1674;<init>(Ljava/util/List;IIIZ)V
      named <init> Lnet/minecraft/client/resource/AnimationMetadata;<init>(Ljava/util/List;IIIZ)V
  • Method Details

    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      official a Lcwo;a()I
      intermediary method_5961 Lnet/minecraft/class_1674;method_5961()I
      named getHeight Lnet/minecraft/client/resource/AnimationMetadata;getHeight()I
    • getWidth

      public int getWidth()
      Mappings:
      Namespace Name Mixin selector
      official b Lcwo;b()I
      intermediary method_5963 Lnet/minecraft/class_1674;method_5963()I
      named getWidth Lnet/minecraft/client/resource/AnimationMetadata;getWidth()I
    • getMetadataListSize

      public int getMetadataListSize()
      Mappings:
      Namespace Name Mixin selector
      official c Lcwo;c()I
      intermediary method_5965 Lnet/minecraft/class_1674;method_5965()I
      named getMetadataListSize Lnet/minecraft/client/resource/AnimationMetadata;getMetadataListSize()I
    • getTime

      public int getTime()
      Mappings:
      Namespace Name Mixin selector
      official d Lcwo;d()I
      intermediary method_5967 Lnet/minecraft/class_1674;method_5967()I
      named getTime Lnet/minecraft/client/resource/AnimationMetadata;getTime()I
    • shouldInterpolate

      public boolean shouldInterpolate()
      Mappings:
      Namespace Name Mixin selector
      official e Lcwo;e()Z
      intermediary method_10370 Lnet/minecraft/class_1674;method_10370()Z
      named shouldInterpolate Lnet/minecraft/client/resource/AnimationMetadata;shouldInterpolate()Z
    • get

      private AnimationFrameResourceMetadata get(int i)
      Mappings:
      Namespace Name Mixin selector
      official d Lcwo;d(I)Lcwn;
      intermediary method_5968 Lnet/minecraft/class_1674;method_5968(I)Lnet/minecraft/class_1524;
      named get Lnet/minecraft/client/resource/AnimationMetadata;get(I)Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;
    • getTime

      public int getTime(int i)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwo;a(I)I
      intermediary method_5962 Lnet/minecraft/class_1674;method_5962(I)I
      named getTime Lnet/minecraft/client/resource/AnimationMetadata;getTime(I)I
    • method_5964

      public boolean method_5964(int i)
      Mappings:
      Namespace Name Mixin selector
      official b Lcwo;b(I)Z
      intermediary method_5964 Lnet/minecraft/class_1674;method_5964(I)Z
      named method_5964 Lnet/minecraft/client/resource/AnimationMetadata;method_5964(I)Z
    • getIndex

      public int getIndex(int i)
      Mappings:
      Namespace Name Mixin selector
      official c Lcwo;c(I)I
      intermediary method_5966 Lnet/minecraft/class_1674;method_5966(I)I
      named getIndex Lnet/minecraft/client/resource/AnimationMetadata;getIndex(I)I
    • getIndices

      public Set getIndices()
      Mappings:
      Namespace Name Mixin selector
      official f Lcwo;f()Ljava/util/Set;
      intermediary method_5969 Lnet/minecraft/class_1674;method_5969()Ljava/util/Set;
      named getIndices Lnet/minecraft/client/resource/AnimationMetadata;getIndices()Ljava/util/Set;