Class AnimationResourceMetadataReader

java.lang.Object
net.minecraft.client.resource.metadata.AnimationResourceMetadataReader
All Implemented Interfaces:
ResourceMetadataReader<AnimationResourceMetadata>

@Environment(CLIENT) public class AnimationResourceMetadataReader extends Object implements ResourceMetadataReader<AnimationResourceMetadata>
Mappings:
Namespace Name
official fvo
intermediary net/minecraft/class_1081
named net/minecraft/client/resource/metadata/AnimationResourceMetadataReader
  • Constructor Details

    • AnimationResourceMetadataReader

      public AnimationResourceMetadataReader()
  • Method Details

    • fromJson

      public AnimationResourceMetadata fromJson(JsonObject jsonObject)
      Specified by:
      fromJson in interface ResourceMetadataReader<AnimationResourceMetadata>
      Mappings:
      Namespace Name Mixin selector
      official b Lfvo;b(Lcom/google/gson/JsonObject;)Lfvn;
      intermediary method_4692 Lnet/minecraft/class_1081;method_4692(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1079;
      named fromJson Lnet/minecraft/client/resource/metadata/AnimationResourceMetadataReader;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;
    • readFrameMetadata

      @Nullable private @Nullable AnimationFrameResourceMetadata readFrameMetadata(int frame, JsonElement json)
      Mappings:
      Namespace Name Mixin selector
      official a Lfvo;a(ILcom/google/gson/JsonElement;)Lfvm;
      intermediary method_4693 Lnet/minecraft/class_1081;method_4693(ILcom/google/gson/JsonElement;)Lnet/minecraft/class_1080;
      named readFrameMetadata Lnet/minecraft/client/resource/metadata/AnimationResourceMetadataReader;readFrameMetadata(ILcom/google/gson/JsonElement;)Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;
    • getKey

      public String getKey()
      Specified by:
      getKey in interface ResourceMetadataReader<AnimationResourceMetadata>
      Mappings:
      Namespace Name Mixin selector
      official a Lajv;a()Ljava/lang/String;
      intermediary method_14420 Lnet/minecraft/class_3270;method_14420()Ljava/lang/String;
      named getKey Lnet/minecraft/resource/metadata/ResourceMetadataReader;getKey()Ljava/lang/String;