Skip to content

Class ResolvedLibrary

A resolved library for launcher. It can by parsed from LibraryInfo.

🏭 Constructors

constructor

ts
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

ts
artifactId: string

Defined in: packages/core/version.ts:220

checksums

ts
checksums: string[]

Defined in: packages/core/version.ts:231

classifier

ts
classifier: string

The classifier. Normally, this is empty. For forge, it can be like universal, installer.

Defined in: packages/core/version.ts:224

clientreq

ts
clientreq: boolean

Defined in: packages/core/version.ts:233

download

ts
download: Artifact

Defined in: packages/core/version.ts:229

extractExclude

ts
extractExclude: string[]

Defined in: packages/core/version.ts:234

groupId

ts
groupId: string

Defined in: packages/core/version.ts:219

isNative

ts
isNative: boolean = false

Defined in: packages/core/version.ts:230

isSnapshot

ts
isSnapshot: boolean

Defined in: packages/core/version.ts:222

name

ts
name: string

The original maven name of this library

Defined in: packages/core/version.ts:227

path

ts
path: string

The maven path.

Defined in: packages/core/version.ts:225

serverreq

ts
serverreq: boolean

Defined in: packages/core/version.ts:232

type

ts
type: string

The file extension. Default is jar. Some files in forge are zip.

Defined in: packages/core/version.ts:223

version

ts
version: string

Defined in: packages/core/version.ts:221

Released under the MIT License.