Package net.minecraft.server.packs
Interface PackResources
- All Superinterfaces:
AutoCloseable
,IForgePackResources
- All Known Implementing Classes:
AbstractPackResources
,CompositePackResources
,DelegatingPackResources
,FilePackResources
,PathPackResources
,PathPackResources
,ResourcePackLoader.ModPathPackResources
,VanillaPackResources
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
<T> T
getMetadataSection
(MetadataSectionSerializer<T> p_10291_) getNamespaces
(PackType p_10283_) getResource
(PackType p_215339_, ResourceLocation p_249034_) getRootResource
(String... p_252049_) default boolean
void
listResources
(PackType p_10289_, String p_251379_, String p_251932_, PackResources.ResourceOutput p_249347_) packId()
Methods inherited from interface net.minecraftforge.common.extensions.IForgePackResources
getChildren, isHidden
-
Field Details
-
METADATA_EXTENSION
- See Also:
-
PACK_META
- See Also:
-
-
Method Details
-
getRootResource
-
getResource
-
listResources
void listResources(PackType p_10289_, String p_251379_, String p_251932_, PackResources.ResourceOutput p_249347_) -
getNamespaces
-
getMetadataSection
- Throws:
IOException
-
packId
String packId() -
isBuiltin
default boolean isBuiltin() -
close
void close()- Specified by:
close
in interfaceAutoCloseable
-