Package net.minecraft.server.packs
Interface PackResources
- All Superinterfaces:
AutoCloseable
,IForgePackResources
- All Known Implementing Classes:
AbstractPackResources
,CompositePackResources
,DelegatingPackResources
,FilePackResources
,PathPackResources
,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_) void
listResources
(PackType p_10289_, String p_251379_, String p_251932_, PackResources.ResourceOutput p_249347_) location()
default String
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
-
location
PackLocationInfo location() -
packId
-
knownPackInfo
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-