Package net.fabricmc.fabric.api.resource
Interface ModResourcePack
- All Superinterfaces:
AutoCloseable
,net.minecraft.resource.ResourcePack
public interface ModResourcePack
extends net.minecraft.resource.ResourcePack
Interface implemented by mod-provided resource packs.
-
Method Summary
Modifier and TypeMethodDescriptionnet.fabricmc.loader.api.metadata.ModMetadata
Methods inherited from interface net.minecraft.resource.ResourcePack
close, contains, findResources, getName, 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.
-