Skip to content

@loontail/minecraft-kit v0.8.14 / RuntimeOnlyInstallTarget

Type alias: RuntimeOnlyInstallTarget

ts
type RuntimeOnlyInstallTarget: {
  directory: string;
  id: string;
  loader: undefined;
  minecraft: undefined;
  runtime: ResolvedRuntime;
};

A "runtime-only" install plan target. Used by planStandaloneRuntimeInstall to plan a JRE-only install without a Minecraft version/loader pinned to the plan.

Example

ts
import type { RuntimeOnlyInstallTarget } from "@loontail/minecraft-kit";

const plan = await kit.install.runtime.standalonePlan({ id, directory, runtime });
const target = plan.target as RuntimeOnlyInstallTarget;
console.log(target.runtime.component); // → e.g. "java-runtime-gamma"

Type declaration

MemberType
directorystring
idstring
loaderundefined
minecraftundefined
runtimeResolvedRuntime

Source

src/types/install.ts:268

MIT License