Skip to content

@loontail/minecraft-kit v0.8.14 / RuntimeListInput

Type alias: RuntimeListInput

ts
type RuntimeListInput: {
  minecraftVersion: string;
  signal: AbortSignal;
  system: RuntimeSystem;
};

Inputs to RuntimeVersionsApi.list.

Example

ts
import { detectSystem, type RuntimeListInput } from "@loontail/minecraft-kit";

const input: RuntimeListInput = { system: detectSystem() };
const runtimes = await kit.versions.runtime.list(input);

Type declaration

MemberType
minecraftVersionstring
signalAbortSignal
systemRuntimeSystem

Source

src/versions/runtime.ts:24

MIT License