Interface ModResourcePack
- All Superinterfaces:
AutoCloseable, ModPackResources, net.minecraft.server.packs.PackResources
Deprecated.
Interface implemented by mod-provided resource packs.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.PackResources
net.minecraft.server.packs.PackResources.ResourceOutput -
Field Summary
Fields inherited from interface net.minecraft.server.packs.PackResources
METADATA_EXTENSION, PACK_META -
Method Summary
Modifier and TypeMethodDescriptioncreateOverlay(String overlay) Deprecated.net.fabricmc.loader.api.metadata.ModMetadataDeprecated.Returns the metadata associated with the mod providing this resource pack.Methods inherited from interface net.minecraft.server.packs.PackResources
close, getMetadataSection, getNamespaces, getResource, getRootResource, knownPackInfo, listResources, location, packId
-
Method Details
-
getFabricModMetadata
net.fabricmc.loader.api.metadata.ModMetadata getFabricModMetadata()Deprecated.Description copied from interface:ModPackResourcesReturns the metadata associated with the mod providing this resource pack.- Specified by:
getFabricModMetadatain interfaceModPackResources- Returns:
- The ModMetadata object associated with the mod providing this resource pack.
-
createOverlay
Deprecated.- Specified by:
createOverlayin interfaceModPackResources
-
ModPackResources.