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
named net/minecraft/client/resource/metadata/AnimationResourceMetadataReader
intermediary net/minecraft/class_1081
official grc
  • 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
      named fromJson Lnet/minecraft/client/resource/metadata/AnimationResourceMetadataReader;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;
      intermediary method_4692 Lnet/minecraft/class_1081;method_4692(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1079;
      official b Lgrc;b(Lcom/google/gson/JsonObject;)Lgrb;
    • readFrameMetadata

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

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