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 Version.parse.
🏷️ Properties
arguments
arguments: { game: LaunchArgument[]; jvm: LaunchArgument[] }Defined in: packages/core/version.ts:27
assetIndex optional
assetIndex: AssetIndexDefined in: packages/core/version.ts:35
assets
assets: stringThe asset index id of this version. Should be something like 1.14, 1.12
Defined in: packages/core/version.ts:39
downloads
downloads: { (key: string): undefined | Download; client?: Download; server?: Download }Defined in: packages/core/version.ts:40
id
id: stringThe 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: JavaVersionRecommended java version
Defined in: packages/core/version.ts:61
libraries
libraries: ResolvedLibrary[]Defined in: packages/core/version.ts:45
logging optional
logging: (key: string) => { argument: string; file: Download & { id: string }; type: string }Defined in: packages/core/version.ts:51
mainClass
mainClass: stringThe main class full qualified name
Defined in: packages/core/version.ts:34
minecraftDirectory
minecraftDirectory: stringThe minecraft directory of this version
Defined in: packages/core/version.ts:69
minecraftVersion
minecraftVersion: stringThe minecraft version of this version
Defined in: packages/core/version.ts:65
minimumLauncherVersion
minimumLauncherVersion: numberDefined 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: stringDefined in: packages/core/version.ts:48
time
time: stringDefined in: packages/core/version.ts:49
type
type: stringDefined in: packages/core/version.ts:50