Skip to content

@loontail/minecraft-kit v0.5.0 / planStandaloneRuntimeInstall

Function: planStandaloneRuntimeInstall()

ts
function planStandaloneRuntimeInstall(input): Promise<InstallPlan>

Plan a runtime-only install without a Minecraft target. Useful for "Install Java/runtime" flows where the user just wants a JRE on disk and never had a Minecraft version to choose from. The returned plan is shaped exactly like a normal InstallPlan and runs through the standard install runner — but its target.minecraft and target.loader fields are intentional placeholders. The runner only reads target.runtime for runtime-only plans, so the placeholders are never accessed at runtime.

Parameters

ParameterType
inputPlanStandaloneRuntimeInstallInput

Returns

Promise<InstallPlan>

Source

src/install/runtime-install.ts:69

MIT License