Interface ModResourcePack

All Superinterfaces:
AutoCloseable, ModPackResources, net.minecraft.server.packs.PackResources

@Deprecated public interface ModResourcePack extends ModPackResources
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 Type
    Method
    Description
    Deprecated.
     
    net.fabricmc.loader.api.metadata.ModMetadata
    Deprecated.
    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: ModPackResources
      Returns the metadata associated with the mod providing this resource pack.
      Specified by:
      getFabricModMetadata in interface ModPackResources
      Returns:
      The ModMetadata object associated with the mod providing this resource pack.
    • createOverlay

      ModResourcePack createOverlay(String overlay)
      Deprecated.
      Specified by:
      createOverlay in interface ModPackResources