Skip to content

@loontail/minecraft-kit v0.8.14 / FabricGameVersionEntry

Type alias: FabricGameVersionEntry

ts
type FabricGameVersionEntry: {
  stable: boolean;
  version: MinecraftVersionId;
};

One entry from the upstream Fabric gameVersions listing — the set of Minecraft versions Fabric supports at all, independent of any specific loader version.

Example

ts
import type { FabricGameVersionEntry } from "@loontail/minecraft-kit";

const games: readonly FabricGameVersionEntry[] = await kit.versions.fabric.gameVersions();
const stable = games.filter((g) => g.stable).map((g) => g.version);

Type declaration

MemberType
stableboolean
versionMinecraftVersionId

Source

src/versions/fabric.ts:67

MIT License