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 boa
intermediary net/minecraft/class_1278
named net/minecraft/client/resource/AnimationMetadata
  • Field Details

    • metadataList

      private final List<AnimationFrameResourceMetadata> metadataList
      Mappings:
      Namespace Name Mixin selector
      official a Lboa;a:Ljava/util/List;
      intermediary field_5316 Lnet/minecraft/class_1278;field_5316: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 Lboa;b:I
      intermediary field_5317 Lnet/minecraft/class_1278;field_5317:I
      named width Lnet/minecraft/client/resource/AnimationMetadata;width:I
    • height

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

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

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

    • AnimationMetadata

      public AnimationMetadata​(List<AnimationFrameResourceMetadata> metadataList, int width, int height, int time, boolean interpolate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lboa;<init>(Ljava/util/List;IIIZ)V
      intermediary <init> Lnet/minecraft/class_1278;<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 Lboa;a()I
      intermediary method_4428 Lnet/minecraft/class_1278;method_4428()I
      named getHeight Lnet/minecraft/client/resource/AnimationMetadata;getHeight()I
    • getWidth

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

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

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

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

      private AnimationFrameResourceMetadata get​(int i)
      Mappings:
      Namespace Name Mixin selector
      official d Lboa;d(I)Lbnz;
      intermediary method_4435 Lnet/minecraft/class_1278;method_4435(I)Lnet/minecraft/class_1277;
      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 Lboa;a(I)I
      intermediary method_4429 Lnet/minecraft/class_1278;method_4429(I)I
      named getTime Lnet/minecraft/client/resource/AnimationMetadata;getTime(I)I
    • method_4431

      public boolean method_4431​(int i)
      Mappings:
      Namespace Name Mixin selector
      official b Lboa;b(I)Z
      intermediary method_4431 Lnet/minecraft/class_1278;method_4431(I)Z
      named method_4431 Lnet/minecraft/client/resource/AnimationMetadata;method_4431(I)Z
    • getIndex

      public int getIndex​(int i)
      Mappings:
      Namespace Name Mixin selector
      official c Lboa;c(I)I
      intermediary method_4433 Lnet/minecraft/class_1278;method_4433(I)I
      named getIndex Lnet/minecraft/client/resource/AnimationMetadata;getIndex(I)I
    • getIndices

      public Set<Integer> getIndices()
      Mappings:
      Namespace Name Mixin selector
      official f Lboa;f()Ljava/util/Set;
      intermediary method_4437 Lnet/minecraft/class_1278;method_4437()Ljava/util/Set;
      named getIndices Lnet/minecraft/client/resource/AnimationMetadata;getIndices()Ljava/util/Set;