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
arguments: Object
Defined in: packages/core/version.ts:27
assetIndex optional
assetIndex: AssetIndex
Defined in: packages/core/version.ts:35
assets
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
downloads: Object
Defined in: packages/core/version.ts:40
id
id: string
The id of the version, should be identical to the version folder.
Defined in: packages/core/version.ts:26
inheritances
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
javaVersion: JavaVersion
Recommended java version
Defined in: packages/core/version.ts:61
libraries
libraries: ResolvedLibrary[]
Defined in: packages/core/version.ts:45
logging optional
logging: Object
Defined in: packages/core/version.ts:51
mainClass
mainClass: string
The main class full qualified name
Defined in: packages/core/version.ts:34
minecraftDirectory
minecraftDirectory: string
The minecraft directory of this version
Defined in: packages/core/version.ts:69
minecraftVersion
minecraftVersion: string
The minecraft version of this version
Defined in: packages/core/version.ts:65
minimumLauncherVersion
minimumLauncherVersion: number
Defined in: packages/core/version.ts:47
pathChain
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
releaseTime: string
Defined in: packages/core/version.ts:48
time
time: string
Defined in: packages/core/version.ts:49
type
type: string
Defined in: packages/core/version.ts:50