Interface ModResourcePack

All Superinterfaces:
AutoCloseable, net.minecraft.resource.ResourcePack

public interface ModResourcePack extends net.minecraft.resource.ResourcePack
Interface implemented by mod-provided resource packs.
  • Field Summary

    Fields inherited from interface net.minecraft.resource.ResourcePack

    METADATA_PATH_SUFFIX, PACK_METADATA_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    net.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.