Package net.minecraft.resource.metadata
Interface ResourceMetadata
public interface ResourceMetadata
- Mappings:
Namespace Name official anv
intermediary net/minecraft/class_7368
named net/minecraft/resource/metadata/ResourceMetadata
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceMetadata
static final InputSupplier<ResourceMetadata>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceMetadata
copy
(Collection<ResourceMetadataReader<?>> readers) static ResourceMetadata
create
(InputStream stream) <T> Optional<T>
decode
(ResourceMetadataReader<T> reader) private <T> void
decodeAndAdd
(ResourceMetadata.Builder builder, ResourceMetadataReader<T> reader)
-
Field Details
-
NONE
- Mappings:
Namespace Name Mixin selector official a
Lanv;a:Lanv;
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;
-
NONE_SUPPLIER
- Mappings:
Namespace Name Mixin selector official b
Lanv;b:Lanl;
intermediary field_40056
Lnet/minecraft/class_7368;field_40056:Lnet/minecraft/class_7367;
named NONE_SUPPLIER
Lnet/minecraft/resource/metadata/ResourceMetadata;NONE_SUPPLIER:Lnet/minecraft/resource/InputSupplier;
-
-
Method Details
-
create
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lanv;a(Ljava/io/InputStream;)Lanv;
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
- Mappings:
Namespace Name Mixin selector official a
Lanv;a(Lamt;)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;
-
copy
- Mappings:
Namespace Name Mixin selector official a
Lanv;a(Ljava/util/Collection;)Lanv;
intermediary method_52446
Lnet/minecraft/class_7368;method_52446(Ljava/util/Collection;)Lnet/minecraft/class_7368;
named copy
Lnet/minecraft/resource/metadata/ResourceMetadata;copy(Ljava/util/Collection;)Lnet/minecraft/resource/metadata/ResourceMetadata;
-
decodeAndAdd
- Mappings:
Namespace Name Mixin selector official a
Lanv;a(Lanv$a;Lamt;)V
intermediary method_52444
Lnet/minecraft/class_7368;method_52444(Lnet/minecraft/class_7368$class_8622;Lnet/minecraft/class_3270;)V
named decodeAndAdd
Lnet/minecraft/resource/metadata/ResourceMetadata;decodeAndAdd(Lnet/minecraft/resource/metadata/ResourceMetadata$Builder;Lnet/minecraft/resource/metadata/ResourceMetadataReader;)V
-