Skip to content

@loontail/minecraft-kit / 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";
};

Defined in: src/types/install.ts:49

Categorisation tag on every DownloadAction. Drives the install-phase mapping and lets consumers filter the plan to a subset (e.g. "runtime only").

Type Declaration

NameTypeDefault valueDescriptionDefined in
ASSET"asset""asset"-src/types/install.ts:53
ASSET_INDEX"asset-index""asset-index"-src/types/install.ts:52
CLIENT_JAR"client-jar""client-jar"-src/types/install.ts:50
FABRIC_LIBRARY"fabric-library""fabric-library"-src/types/install.ts:55
FORGE_INSTALLER"forge-installer""forge-installer"Event-only category. The Forge installer JAR is fetched during planning (it has to be read before the rest of the plan exists) and is never emitted as a plan action, so this value appears on download:* events but never on a DownloadAction in a plan.src/types/install.ts:63
FORGE_LIBRARY"forge-library""forge-library"-src/types/install.ts:56
LIBRARY"library""library"-src/types/install.ts:51
LOGGING_CONFIG"logging-config""logging-config"-src/types/install.ts:54
RUNTIME_FILE"runtime-file""runtime-file"-src/types/install.ts:57

MIT License