Appearance
@loontail/minecraft-kit v0.8.14 / InstallPlanTarget
Type alias: InstallPlanTarget
ts
type InstallPlanTarget: Target | RuntimeOnlyInstallTarget;Shape of InstallPlan.target. Either a fully-resolved Target (from ./target) or a runtime-only stand-in. The install runner only reads target.minecraft/target.loader when the plan actually contains those steps, so runtime-only plans are safe.
Example
ts
import type { InstallPlanTarget } from "@loontail/minecraft-kit";
const directoryOf = (t: InstallPlanTarget): string => t.directory;
console.log(directoryOf(plan.target));