Interface ResourceMetadata


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

    • NONE

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

      static final InputSupplier<ResourceMetadata> NONE_SUPPLIER
      Mappings:
      Namespace Name Mixin selector
      named NONE_SUPPLIER Lnet/minecraft/resource/metadata/ResourceMetadata;NONE_SUPPLIER:Lnet/minecraft/resource/InputSupplier;
      intermediary field_40056 Lnet/minecraft/class_7368;field_40056:Lnet/minecraft/class_7367;
      official b Laur;b:Lauh;
  • Method Details

    • create

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

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

      Mappings:
      Namespace Name Mixin selector
      named copy Lnet/minecraft/resource/metadata/ResourceMetadata;copy(Ljava/util/Collection;)Lnet/minecraft/resource/metadata/ResourceMetadata;
      intermediary method_52446 Lnet/minecraft/class_7368;method_52446(Ljava/util/Collection;)Lnet/minecraft/class_7368;
      official a Laur;a(Ljava/util/Collection;)Laur;
    • decodeAndAdd

      private <T> void decodeAndAdd(ResourceMetadata.Builder builder, ResourceMetadataReader<T> reader)
      Mappings:
      Namespace Name Mixin selector
      named decodeAndAdd Lnet/minecraft/resource/metadata/ResourceMetadata;decodeAndAdd(Lnet/minecraft/resource/metadata/ResourceMetadata$Builder;Lnet/minecraft/resource/metadata/ResourceMetadataReader;)V
      intermediary method_52444 Lnet/minecraft/class_7368;method_52444(Lnet/minecraft/class_7368$class_8622;Lnet/minecraft/class_3270;)V
      official a Laur;a(Laur$a;Lato;)V