Appearance
twine / FactoryOptions
Interface: FactoryOptions
Defined in: factory.ts:31
Properties
env?
optionalenv?:BuildEnv
Defined in: factory.ts:37
Build target. Modules env-gated to other envs are pruned. Default "dev".
name
name:
string
Defined in: factory.ts:33
Datapack name (also the output namespace).
target?
optionaltarget?:RuntimeTarget
Defined in: factory.ts:43
Runtime this build targets ("vanilla" | "paper"). Drives ctx.native(...) ops: "paper" emits the native plugin call, "vanilla" runs their fallback. Default "vanilla". Build the same root twice to ship both packs.
version?
optionalversion?:VersionProfile
Defined in: factory.ts:35
Target version profile. Default v1_20_4.