Skip to content

@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

PropertyModifierTypeDescriptionDefined in
componentreadonlystringMojang component name (e.g. java-runtime-gamma).src/types/runtime.ts:141
installRoot?readonlystringAbsolute 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?readonlynumberMajor Java version when known.src/types/runtime.ts:147
manifestSha1readonlystringSHA-1 of the file manifest.src/types/runtime.ts:152
manifestUrlreadonlystringURL of the per-component file manifest.src/types/runtime.ts:150
platformKeyreadonlystringPlatform key inside the runtime index (e.g. windows-x64).src/types/runtime.ts:143
systemreadonlyRuntimeSystem-src/types/runtime.ts:148
versionNamereadonlystringVersion name (e.g. "17.0.8").src/types/runtime.ts:145

MIT License