Appearance
@loontail/minecraft-kit / ResolvedRuntime
Type Alias: ResolvedRuntime
ts
type ResolvedRuntime = {
component: string;
installRoot?: string;
majorVersion?: number;
manifestSha1: string;
manifestUrl: string;
platformKey: string;
system: RuntimeSystem;
versionName: string;
};Defined in: src/types/runtime.ts:139
Resolved runtime ready to install or launch with.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
component | readonly | string | Mojang component name (e.g. java-runtime-gamma). | src/types/runtime.ts:141 |
installRoot? | readonly | string | Absolute path containing component directories. When set, runtime files for component live at <installRoot>/<component>/.... When unset, defaults to <target.directory>/runtime. | src/types/runtime.ts:157 |
majorVersion? | readonly | number | Major Java version when known. | src/types/runtime.ts:147 |
manifestSha1 | readonly | string | SHA-1 of the file manifest. | src/types/runtime.ts:152 |
manifestUrl | readonly | string | URL of the per-component file manifest. | src/types/runtime.ts:150 |
platformKey | readonly | string | Platform key inside the runtime index (e.g. windows-x64). | src/types/runtime.ts:143 |
system | readonly | RuntimeSystem | - | src/types/runtime.ts:148 |
versionName | readonly | string | Version name (e.g. "17.0.8"). | src/types/runtime.ts:145 |