Interface ResourceMetadata


public interface ResourceMetadata
Mappings:
Namespace Name
official aio
intermediary net/minecraft/class_7368
named net/minecraft/resource/metadata/ResourceMetadata
  • Field Details

    • NONE

      static final ResourceMetadata NONE
      Mappings:
      Namespace Name Mixin selector
      official a Laio;a:Laio;
      intermediary field_38688 Lnet/minecraft/class_7368;field_38688:Lnet/minecraft/class_7368;
      named NONE Lnet/minecraft/resource/metadata/ResourceMetadata;NONE:Lnet/minecraft/resource/metadata/ResourceMetadata;
  • Method Details

    • create

      static ResourceMetadata create(InputStream stream) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Laio;a(Ljava/io/InputStream;)Laio;
      intermediary method_43042 Lnet/minecraft/class_7368;method_43042(Ljava/io/InputStream;)Lnet/minecraft/class_7368;
      named create Lnet/minecraft/resource/metadata/ResourceMetadata;create(Ljava/io/InputStream;)Lnet/minecraft/resource/metadata/ResourceMetadata;
    • decode

      <T> Optional<T> decode(ResourceMetadataReader<T> reader)
      Mappings:
      Namespace Name Mixin selector
      official a Laio;a(Lahp;)Ljava/util/Optional;
      intermediary method_43041 Lnet/minecraft/class_7368;method_43041(Lnet/minecraft/class_3270;)Ljava/util/Optional;
      named decode Lnet/minecraft/resource/metadata/ResourceMetadata;decode(Lnet/minecraft/resource/metadata/ResourceMetadataReader;)Ljava/util/Optional;