Appearance
@loontail/minecraft-kit / DiscoveredTarget
Type Alias: DiscoveredTarget
ts
type DiscoveredTarget = {
directory: string;
id: string;
loaders: readonly DiscoveredLoaderHint[];
minecraftVersions: readonly string[];
runtime?: DiscoveredRuntimeHint;
};Defined in: src/types/target.ts:37
Discovered installation found by scanning a root directory. Contains only what was actually read from disk — no assumptions about correctness, completeness, or repair state.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
directory | readonly | string | Absolute or normalized directory path. | src/types/target.ts:41 |
id | readonly | string | Subdirectory name under the scanned root. | src/types/target.ts:39 |
loaders | readonly | readonly DiscoveredLoaderHint[] | Loader entries inferred from version-name conventions. | src/types/target.ts:45 |
minecraftVersions | readonly | readonly string[] | Minecraft version ids found under versions/. | src/types/target.ts:43 |
runtime? | readonly | DiscoveredRuntimeHint | Detected Java executable, when one is present in the per-target runtime/ folder. | src/types/target.ts:47 |