Appearance
twine / FactoryOptions
Interface: FactoryOptions โ
Defined in: twine/src/core/factory/options.ts:6
Options for DatapackFactory.create.
Properties โ
debug? โ
optionaldebug?:DebugOptions
Defined in: twine/src/core/factory/options.ts:23
Debug-only build settings, off by default. sources maps commands to source lines; comments also writes them into the pack.
env? โ
optionalenv?:BuildEnv
Defined in: twine/src/core/factory/options.ts:12
Build environment. Modules for other envs are pruned. Default: buildEnv.
name โ
name:
string
Defined in: twine/src/core/factory/options.ts:8
Datapack name (also the output namespace).
only? โ
optionalonly?:string[]
Defined in: twine/src/core/factory/options.ts:14
Module names to build, with their imports and ancestors. Omit to build all.
target? โ
optionaltarget?:RuntimeTarget
Defined in: twine/src/core/factory/options.ts:18
Runtime target ("vanilla" | "paper"), for ctx.native(...). Default "vanilla".
version? โ
optionalversion?:VersionProfile
Defined in: twine/src/core/factory/options.ts:10
Target version profile. Default v1_20_4.