Skip to content

@loontail/minecraft-kit v0.8.14 / DownloadCategory

Type alias: DownloadCategory

ts
type DownloadCategory: typeof DownloadCategories[keyof typeof DownloadCategories];

Download category literal — drives runInstall phase boundaries.

Example

ts
import { DownloadCategories, type DownloadCategory } from "@loontail/minecraft-kit";

const stageOf = (c: DownloadCategory): string =>
  c === DownloadCategories.RUNTIME_FILE ? "java" : "game";

Source

src/types/install.ts:124

MIT License