Appearance
@loontail/minecraft-kit v0.8.14 / RunForgeProcessorAction
Type alias: RunForgeProcessorAction
ts
type RunForgeProcessorAction: {
args: readonly string[];
classpath: readonly string[];
index: number;
kind: typeof InstallActionKinds.RUN_FORGE_PROCESSOR;
outputs: Readonly<Record<string, string>>;
};A Forge processor invocation. Main-Class is intentionally NOT carried here — the runner reads it from classpath[0]'s manifest at execution time, because the JAR is not guaranteed to exist on disk during planning (newer Forge versions ship some processor JARs as regular Maven libraries instead of bundling them in the installer).
Example
ts
import { InstallActionKinds, type RunForgeProcessorAction } from "@loontail/minecraft-kit";
const processors = plan.actions.filter(
(a): a is RunForgeProcessorAction => a.kind === InstallActionKinds.RUN_FORGE_PROCESSOR,
);
console.log(`forge install will invoke ${processors.length} processors`);Type declaration
| Member | Type | Description |
|---|---|---|
args | readonly string[] | - |
classpath | readonly string[] | First entry is the processor JAR; remaining entries are its declared classpath. |
index | number | - |
kind | typeof InstallActionKinds.RUN_FORGE_PROCESSOR | - |
outputs | Readonly<Record<string, string>> | - |