Appearance
@loontail/minecraft-kit v0.8.14 / DownloadCategories
Variable: DownloadCategories
ts
const DownloadCategories: {
ASSET: "asset";
ASSET_INDEX: "asset-index";
CLIENT_JAR: "client-jar";
FABRIC_LIBRARY: "fabric-library";
FORGE_INSTALLER: "forge-installer";
FORGE_LIBRARY: "forge-library";
LIBRARY: "library";
LOGGING_CONFIG: "logging-config";
RUNTIME_FILE: "runtime-file";
};Categorisation tag on every DownloadAction. Drives the install-phase mapping and lets consumers filter the plan to a subset (e.g. "runtime only").
Example
ts
import { DownloadCategories } from "@loontail/minecraft-kit";
await kit.install.run(plan, {
actionCategories: new Set([DownloadCategories.ASSET, DownloadCategories.ASSET_INDEX]),
});Type declaration
| Member | Type | Value |
|---|---|---|
ASSET | "asset" | "asset" |
ASSET_INDEX | "asset-index" | "asset-index" |
CLIENT_JAR | "client-jar" | "client-jar" |
FABRIC_LIBRARY | "fabric-library" | "fabric-library" |
FORGE_INSTALLER | "forge-installer" | "forge-installer" |
FORGE_LIBRARY | "forge-library" | "forge-library" |
LIBRARY | "library" | "library" |
LOGGING_CONFIG | "logging-config" | "logging-config" |
RUNTIME_FILE | "runtime-file" | "runtime-file" |