Package net.minecraft.resource
Class OverlayResourcePack
java.lang.Object
net.minecraft.resource.OverlayResourcePack
- All Implemented Interfaces:
AutoCloseable
,ResourcePack
- Mappings:
Namespace Name official amd
intermediary net/minecraft/class_8614
named net/minecraft/resource/OverlayResourcePack
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourcePack
ResourcePack.ResultConsumer
-
Field Summary
Fields inherited from interface net.minecraft.resource.ResourcePack
METADATA_PATH_SUFFIX, PACK_METADATA_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
findResources
(ResourceType type, String namespace, String prefix, ResourcePack.ResultConsumer consumer) getName()
getNamespaces
(ResourceType type) boolean
Returns whether the dynamic registry entries from this pack are always "stable"/not experimental.@Nullable InputSupplier<InputStream>
open
(ResourceType type, Identifier id) @Nullable InputSupplier<InputStream>
<T> T
parseMetadata
(ResourceMetadataReader<T> metaReader)
-
Field Details
-
base
- Mappings:
Namespace Name Mixin selector official c
Lamd;c:Lamh;
intermediary field_45036
Lnet/minecraft/class_8614;field_45036:Lnet/minecraft/class_3262;
named base
Lnet/minecraft/resource/OverlayResourcePack;base:Lnet/minecraft/resource/ResourcePack;
-
overlaysAndBase
- Mappings:
Namespace Name Mixin selector official d
Lamd;d:Ljava/util/List;
intermediary field_45037
Lnet/minecraft/class_8614;field_45037:Ljava/util/List;
named overlaysAndBase
Lnet/minecraft/resource/OverlayResourcePack;overlaysAndBase:Ljava/util/List;
-
-
Constructor Details
-
OverlayResourcePack
- Mappings:
Namespace Name Mixin selector official <init>
Lamd;<init>(Lamh;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_8614;<init>(Lnet/minecraft/class_3262;Ljava/util/List;)V
named <init>
Lnet/minecraft/resource/OverlayResourcePack;<init>(Lnet/minecraft/resource/ResourcePack;Ljava/util/List;)V
-
-
Method Details
-
openRoot
- Specified by:
openRoot
in interfaceResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lamh;a([Ljava/lang/String;)Lanl;
intermediary method_14410
Lnet/minecraft/class_3262;method_14410([Ljava/lang/String;)Lnet/minecraft/class_7367;
named openRoot
Lnet/minecraft/resource/ResourcePack;openRoot([Ljava/lang/String;)Lnet/minecraft/resource/InputSupplier;
-
open
- Specified by:
open
in interfaceResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lamh;a(Lami;Laew;)Lanl;
intermediary method_14405
Lnet/minecraft/class_3262;method_14405(Lnet/minecraft/class_3264;Lnet/minecraft/class_2960;)Lnet/minecraft/class_7367;
named open
Lnet/minecraft/resource/ResourcePack;open(Lnet/minecraft/resource/ResourceType;Lnet/minecraft/util/Identifier;)Lnet/minecraft/resource/InputSupplier;
-
findResources
public void findResources(ResourceType type, String namespace, String prefix, ResourcePack.ResultConsumer consumer) - Specified by:
findResources
in interfaceResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lamh;a(Lami;Ljava/lang/String;Ljava/lang/String;Lamh$a;)V
intermediary method_14408
Lnet/minecraft/class_3262;method_14408(Lnet/minecraft/class_3264;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_3262$class_7664;)V
named findResources
Lnet/minecraft/resource/ResourcePack;findResources(Lnet/minecraft/resource/ResourceType;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/resource/ResourcePack$ResultConsumer;)V
-
getNamespaces
- Specified by:
getNamespaces
in interfaceResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lamh;a(Lami;)Ljava/util/Set;
intermediary method_14406
Lnet/minecraft/class_3262;method_14406(Lnet/minecraft/class_3264;)Ljava/util/Set;
named getNamespaces
Lnet/minecraft/resource/ResourcePack;getNamespaces(Lnet/minecraft/resource/ResourceType;)Ljava/util/Set;
-
parseMetadata
- Specified by:
parseMetadata
in interfaceResourcePack
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lamh;a(Lamt;)Ljava/lang/Object;
intermediary method_14407
Lnet/minecraft/class_3262;method_14407(Lnet/minecraft/class_3270;)Ljava/lang/Object;
named parseMetadata
Lnet/minecraft/resource/ResourcePack;parseMetadata(Lnet/minecraft/resource/metadata/ResourceMetadataReader;)Ljava/lang/Object;
-
getName
- Specified by:
getName
in interfaceResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lamh;a()Ljava/lang/String;
intermediary method_14409
Lnet/minecraft/class_3262;method_14409()Ljava/lang/String;
named getName
Lnet/minecraft/resource/ResourcePack;getName()Ljava/lang/String;
-
isAlwaysStable
public boolean isAlwaysStable()Returns whether the dynamic registry entries from this pack are always "stable"/not experimental.- Specified by:
isAlwaysStable
in interfaceResourcePack
- Returns:
- whether the dynamic registry entries from this pack are always "stable"/not experimental
- Mappings:
Namespace Name Mixin selector official b
Lamh;b()Z
intermediary method_45178
Lnet/minecraft/class_3262;method_45178()Z
named isAlwaysStable
Lnet/minecraft/resource/ResourcePack;isAlwaysStable()Z
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceResourcePack
-