Class LanguageResourceMetadataReader

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

@Environment(CLIENT) public class LanguageResourceMetadataReader extends Object implements ResourceMetadataReader<LanguageResourceMetadata>
Mappings:
Namespace Name
official fai
intermediary net/minecraft/class_1083
named net/minecraft/client/resource/metadata/LanguageResourceMetadataReader
  • Field Details

    • MAX_CODE_LENGTH

      private static final int MAX_CODE_LENGTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfai;a:I
      intermediary field_32979 Lnet/minecraft/class_1083;field_32979:I
      named MAX_CODE_LENGTH Lnet/minecraft/client/resource/metadata/LanguageResourceMetadataReader;MAX_CODE_LENGTH:I
  • Constructor Details

    • LanguageResourceMetadataReader

      public LanguageResourceMetadataReader()
  • Method Details

    • fromJson

      public LanguageResourceMetadata fromJson(JsonObject jsonObject)
      Specified by:
      fromJson in interface ResourceMetadataReader<LanguageResourceMetadata>
      Mappings:
      Namespace Name Mixin selector
      official b Lfai;b(Lcom/google/gson/JsonObject;)Lfah;
      intermediary method_4695 Lnet/minecraft/class_1083;method_4695(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1082;
      named fromJson Lnet/minecraft/client/resource/metadata/LanguageResourceMetadataReader;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resource/metadata/LanguageResourceMetadata;
    • getKey

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