Skip to content

Interface ResolvedVersion

The resolved version for launcher. It could be a combination of multiple versions as there might be some inheritions.

You can get resolved version of a Minecraft by calling parse.

🏷️ Properties

arguments

ts
arguments: Object

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

assetIndex optional

ts
assetIndex: AssetIndex

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

assets

ts
assets: string

The asset index id of this version. Should be something like 1.14, 1.12

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

downloads

ts
downloads: Object

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

id

ts
id: string

The id of the version, should be identical to the version folder.

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

inheritances

ts
inheritances: string[]

The version inheritances of this whole resolved version.

The first element is this version, and the last element is the root Minecraft version. The dependencies of [a, b, c] should be a -> b -> c, where c is a Minecraft version.

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

javaVersion

ts
javaVersion: JavaVersion

Recommended java version

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

libraries

ts
libraries: ResolvedLibrary[]

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

logging optional

ts
logging: Object

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

mainClass

ts
mainClass: string

The main class full qualified name

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

minecraftDirectory

ts
minecraftDirectory: string

The minecraft directory of this version

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

minecraftVersion

ts
minecraftVersion: string

The minecraft version of this version

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

minimumLauncherVersion

ts
minimumLauncherVersion: number

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

pathChain

ts
pathChain: string[]

All array of json file paths.

It's the chain of inherits json path. The root json will be the last element of the array. The first element is the user provided version.

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

releaseTime

ts
releaseTime: string

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

time

ts
time: string

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

type

ts
type: string

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