Class PackResourceMetadataReader

java.lang.Object
net.minecraft.resource.metadata.PackResourceMetadataReader
All Implemented Interfaces:
ResourceMetadataReader<PackResourceMetadata>, ResourceMetadataSerializer<PackResourceMetadata>

public class PackResourceMetadataReader extends Object implements ResourceMetadataSerializer<PackResourceMetadata>
Mappings:
Namespace Name
official aka
intermediary net/minecraft/class_3274
named net/minecraft/resource/metadata/PackResourceMetadataReader
  • Constructor Details

    • PackResourceMetadataReader

      public PackResourceMetadataReader()
  • Method Details

    • fromJson

      public PackResourceMetadata fromJson(JsonObject jsonObject)
      Specified by:
      fromJson in interface ResourceMetadataReader<PackResourceMetadata>
      Mappings:
      Namespace Name Mixin selector
      official b Laka;b(Lcom/google/gson/JsonObject;)Lajz;
      intermediary method_14426 Lnet/minecraft/class_3274;method_14426(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3272;
      named fromJson Lnet/minecraft/resource/metadata/PackResourceMetadataReader;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/resource/metadata/PackResourceMetadata;
    • toJson

      public JsonObject toJson(PackResourceMetadata packResourceMetadata)
      Specified by:
      toJson in interface ResourceMetadataSerializer<PackResourceMetadata>
      Mappings:
      Namespace Name Mixin selector
      official a Laka;a(Lajz;)Lcom/google/gson/JsonObject;
      intermediary method_45255 Lnet/minecraft/class_3274;method_45255(Lnet/minecraft/class_3272;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/resource/metadata/PackResourceMetadataReader;toJson(Lnet/minecraft/resource/metadata/PackResourceMetadata;)Lcom/google/gson/JsonObject;
    • getKey

      public String getKey()
      Specified by:
      getKey in interface ResourceMetadataReader<PackResourceMetadata>
      Mappings:
      Namespace Name Mixin selector
      official a Lajx;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;