Package net.minecraft.server.packs
Interface PackResources
- All Superinterfaces:
AutoCloseable,IForgePackResources
- All Known Implementing Classes:
AbstractPackResources,DelegatingPackResources,FilePackResources,PathPackResources,PathPackResources,VanillaPackResources
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<T> TgetMetadataSection(MetadataSectionSerializer<T> p_10291_) getNamespaces(PackType p_10283_) getResource(PackType p_215339_, ResourceLocation p_249034_) getRootResource(String... p_252049_) default booleanvoidlistResources(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:
closein interfaceAutoCloseable
-