Package net.minecraft.server.packs
Interface PackResources
- All Superinterfaces:
- AutoCloseable,- IPackResourcesExtension
- All Known Implementing Classes:
- AbstractPackResources,- CompositePackResources,- EmptyPackResources,- FilePackResources,- LoginPacketSplitTest.InMemoryResourcePack,- PathPackResources,- VanillaPackResources
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Method SummaryModifier 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.neoforged.neoforge.common.extensions.IPackResourcesExtensionisHidden
- 
Field Details- 
METADATA_EXTENSION- See Also:
 
- 
PACK_META- See Also:
 
 
- 
- 
Method Details- 
getRootResource
- 
getResource
- 
listResourcesvoid listResources(PackType p_10289_, String p_251379_, String p_251932_, PackResources.ResourceOutput p_249347_) 
- 
getNamespaces
- 
getMetadataSection- Throws:
- IOException
 
- 
packIdString packId()
- 
isBuiltindefault boolean isBuiltin()
- 
closevoid close()- Specified by:
- closein interface- AutoCloseable
 
 
-