Appearance
@loontail/minecraft-kit v0.5.0 / planRuntimeInstall
Function: planRuntimeInstall()
ts
function planRuntimeInstall(input): Promise<InstallPlan>Build an install plan that downloads ONLY the Java runtime declared by target.runtime.
Useful when the consumer wants to provision a JRE without touching the rest of the Minecraft installation (no client jar, no libraries, no assets). When target.runtime.installRoot is set the runtime files land in a shared global location instead of the per-target folder.
The returned plan is a regular InstallPlan, so it can be passed to the existing install runner — directory placeholders and symlinks declared by the runtime manifest are still materialized after downloads complete.
Parameters
| Parameter | Type |
|---|---|
input | PlanRuntimeInstallInput |
Returns
Promise<InstallPlan>