Skip to content

@loontail/minecraft-kit / RuntimeSystem

Type Alias: RuntimeSystem

ts
type RuntimeSystem = {
  arch: Architecture;
  os: OperatingSystem;
  osVersion: string;
};

Defined in: src/types/system.ts:37

Identifies the host system for the launcher. All resolvers consume this object to pick the right artifacts (libraries, natives, runtime).

Properties

PropertyModifierTypeDescriptionDefined in
archreadonlyArchitectureCPU architecture (mojang naming).src/types/system.ts:41
osreadonlyOperatingSystemOS identifier (mojang naming).src/types/system.ts:39
osVersionreadonlystringOS version string from os.release(). Used to evaluate library os.version regex rules.src/types/system.ts:43

MIT License