2 KiB
packwizjs / provider / ModrinthProvider
Class: ModrinthProvider
Defined in: provider.ts:25
URL provider for handling Modrinth-related URLs. Extends the UrlProvider with Modrinth-specific properties.
Extends
Constructors
new ModrinthProvider()
new ModrinthProvider(
hash
,hashFormat
,url
,modId
,versionId
):ModrinthProvider
Defined in: provider.ts:34
Creates a new ModrinthProvider instance.
Parameters
hash
string
A hash string used for identification or verification.
hashFormat
The format of the provided hash.
url
A Resource instance representing the URL.
modId
string
The identifier for the Modrinth mod.
versionId
string
The version identifier for the mod.
Returns
Overrides
Properties
hash
hash:
string
Defined in: provider.ts:15
A hash string used for identifying or verifying the resource.
Inherited from
hashFormat
hashFormat:
HashFormat
Defined in: provider.ts:16
The format of the provided hash.
Inherited from
modId
modId:
string
Defined in: provider.ts:38
The identifier for the Modrinth mod.
url
url:
Resource
Defined in: provider.ts:17
A Resource instance representing the URL.
Inherited from
versionId
versionId:
string
Defined in: provider.ts:39
The version identifier for the mod.