Appearance
@loontail/minecraft-kit v0.8.14 / DiscoveredLoaderHint
Type alias: DiscoveredLoaderHint
ts
type DiscoveredLoaderHint: {
minecraftVersion: string;
type: LoaderKind;
version: string;
};Inferred loader hint (does not assert correctness).
Example
ts
import { Loaders, type DiscoveredLoaderHint } from "@loontail/minecraft-kit";
const fabricHints = (hints: readonly DiscoveredLoaderHint[]) =>
hints.filter((h) => h.type === Loaders.FABRIC);Type declaration
| Member | Type |
|---|---|
minecraftVersion | string |
type | LoaderKind |
version | string |