Package net.fabricmc.fabric.api.resource
Interface ModResourcePack
- All Superinterfaces:
AutoCloseable
,ResourcePack
Interface implemented by mod-provided resource packs.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourcePack
ResourcePack.ResultConsumer
-
Field Summary
Fields inherited from interface net.minecraft.resource.ResourcePack
METADATA_PATH_SUFFIX, PACK_METADATA_NAME
-
Method Summary
Modifier and TypeMethodDescriptioncreateOverlay
(String overlay) net.fabricmc.loader.api.metadata.ModMetadata
Methods inherited from interface net.minecraft.resource.ResourcePack
close, findResources, getId, getInfo, getKnownPackInfo, getNamespaces, open, openRoot, parseMetadata
-
Method Details
-
getFabricModMetadata
net.fabricmc.loader.api.metadata.ModMetadata getFabricModMetadata()- Returns:
- The ModMetadata object associated with the mod providing this resource pack.
-
createOverlay
-