Interface ModPackResources

All Superinterfaces:
AutoCloseable, net.minecraft.server.packs.PackResources
All Known Subinterfaces:
ModResourcePack

public interface ModPackResources extends net.minecraft.server.packs.PackResources
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 Type
    Method
    Description
     
    net.fabricmc.loader.api.metadata.ModMetadata
    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()
      Returns the metadata associated with the mod providing this resource pack.
      Returns:
      the metadata associated with the mod providing this resource pack
    • createOverlay

      ModPackResources createOverlay(String overlay)