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
artifactId: string
Defined in: packages/core/version.ts:220
checksums
checksums: string[]
Defined in: packages/core/version.ts:231
classifier
classifier: string
The classifier. Normally, this is empty. For forge, it can be like universal
, installer
.
Defined in: packages/core/version.ts:224
clientreq
clientreq: boolean
Defined in: packages/core/version.ts:233
download
download: Artifact
Defined in: packages/core/version.ts:229
extractExclude
extractExclude: string[]
Defined in: packages/core/version.ts:234
groupId
groupId: string
Defined in: packages/core/version.ts:219
isNative
isNative: boolean = false
Defined in: packages/core/version.ts:230
isSnapshot
isSnapshot: boolean
Defined in: packages/core/version.ts:222
name
name: string
The original maven name of this library
Defined in: packages/core/version.ts:227
path
path: string
The maven path.
Defined in: packages/core/version.ts:225
serverreq
serverreq: boolean
Defined in: packages/core/version.ts:232
type
type: string
The file extension. Default is jar
. Some files in forge are zip
.
Defined in: packages/core/version.ts:223
version
version: string
Defined in: packages/core/version.ts:221