Package net.minecraft.server.packs
Interface PackResources
- All Superinterfaces:
AutoCloseable
,IForgePackResources
- All Known Implementing Classes:
AbstractPackResources
,DefaultClientPackResources
,DelegatingResourcePack
,FilePackResources
,FolderPackResources
,LegacyPackResourcesAdapter
,PackResourcesAdapterV4
,PathResourcePack
,VanillaPackResources
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
<T> T
getMetadataSection
(MetadataSectionSerializer<T> p_10291_) getName()
getNamespaces
(PackType p_10283_) getResource
(PackType p_10289_, ResourceLocation p_10290_) getResources
(PackType p_10284_, String p_10285_, String p_10286_, int p_10287_, Predicate<String> p_10288_) getRootResource
(String p_10294_) boolean
hasResource
(PackType p_10292_, ResourceLocation p_10293_) Methods inherited from interface net.minecraftforge.common.extensions.IForgePackResources
isHidden
-
Field Details
-
METADATA_EXTENSION
- See Also:
-
PACK_META
- See Also:
-
-
Method Details
-
getRootResource
- Throws:
IOException
-
getResource
- Throws:
IOException
-
getResources
Collection<ResourceLocation> getResources(PackType p_10284_, String p_10285_, String p_10286_, int p_10287_, Predicate<String> p_10288_) -
hasResource
-
getNamespaces
-
getMetadataSection
- Throws:
IOException
-
getName
String getName() -
close
void close()- Specified by:
close
in interfaceAutoCloseable
-