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 gaq
intermediary net/minecraft/class_1081
named net/minecraft/client/resource/metadata/AnimationResourceMetadataReader
  • Constructor Details

    • AnimationResourceMetadataReader

      public AnimationResourceMetadataReader()
  • Method Details

    • fromJson

      public AnimationResourceMetadata fromJson(com.google.gson.JsonObject jsonObject)
      Specified by:
      fromJson in interface ResourceMetadataReader<AnimationResourceMetadata>
      Mappings:
      Namespace Name Mixin selector
      official b Lgaq;b(Lcom/google/gson/JsonObject;)Lgap;
      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, com.google.gson.JsonElement json)
      Mappings:
      Namespace Name Mixin selector
      official a Lgaq;a(ILcom/google/gson/JsonElement;)Lgao;
      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 Lamt;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;