URL provider for handling Modrinth-related URLs. Extends the UrlProvider with Modrinth-specific properties.

Hierarchy (View Summary)

Constructors

Properties

Constructors

  • Creates a new ModrinthProvider instance.

    Parameters

    • hash: string

      A hash string used for identification or verification.

    • hashFormat: HashFormat

      The format of the provided hash.

    • url: Resource

      A Resource instance representing the URL where the file can be downloaded from.

    • modId: string

      The identifier for the Modrinth mod.

    • versionId: string

      The version identifier for the mod.

    Returns ModrinthProvider

Properties

hash: string

A hash string used for identifying or verifying the resource.

hashFormat: HashFormat

The format of the provided hash.

modId: string

The identifier for the Modrinth mod.

A Resource instance representing the URL where the file can be downloaded from.

versionId: string

The version identifier for the mod.