Class ResolvedLibrary
A resolved library for launcher. It can by parsed from LibraryInfo
.
🏭 Constructors
constructor
new ResolvedLibrary(name: string, info: LibraryInfo, download: Artifact, isNative: boolean= false, checksums: string[], serverreq: boolean, clientreq: boolean, extractExclude: string[]): ResolvedLibrary
Parameters
- name:
string
- info:
LibraryInfo
- download:
Artifact
- isNative:
boolean
- checksums:
string[]
- serverreq:
boolean
- clientreq:
boolean
- extractExclude:
string[]
Return Type
ResolvedLibrary
Defined in: packages/core/version.ts:226
🏷️ Properties
artifactId readonly
artifactId: string
Defined in: packages/core/version.ts:220
checksums optional readonly
checksums: string[]
Defined in: packages/core/version.ts:231
classifier readonly
classifier: string
The classifier. Normally, this is empty. For forge, it can be like universal
, installer
.
Defined in: packages/core/version.ts:224
clientreq optional readonly
clientreq: boolean
Defined in: packages/core/version.ts:233
download readonly
download: Artifact
Defined in: packages/core/version.ts:229
extractExclude optional readonly
extractExclude: string[]
Defined in: packages/core/version.ts:234
groupId readonly
groupId: string
Defined in: packages/core/version.ts:219
isNative readonly
isNative: boolean = false
Defined in: packages/core/version.ts:230
isSnapshot readonly
isSnapshot: boolean
Defined in: packages/core/version.ts:222
name readonly
name: string
The original maven name of this library
Defined in: packages/core/version.ts:227
path readonly
path: string
The maven path.
Defined in: packages/core/version.ts:225
serverreq optional readonly
serverreq: boolean
Defined in: packages/core/version.ts:232
type readonly
type: string
The file extension. Default is jar
. Some files in forge are zip
.
Defined in: packages/core/version.ts:223
version readonly
version: string
Defined in: packages/core/version.ts:221