Appearance
helix / HelixConfig
Interface: HelixConfig โ
Defined in: config.ts:12
Properties โ
debug? โ
optionaldebug?:DebugOptions
Defined in: config.ts:46
Debug source tracking, applied to dev builds only.
entry โ
entry:
string
Defined in: config.ts:17
Module (relative to the config) whose default export is a PackEntry.
layout? โ
optionallayout?:FunctionLayout
Defined in: config.ts:50
Where private functions go: one zzzprivate/ tree (split, default) or <owner>/zzz/ (beside).
minecraft? โ
optionalminecraft?:object
Defined in: config.ts:28
The Minecraft instance to build into. When dir is set, the datapack goes to <dir>/saves/<world>/datapacks/<name>, the resource pack (if the pack has assets) to <dir>/resourcepacks/<name>, and helix profile/log/worlds read from there.
Leave dir unset (e.g. process.env.MINECRAFT_DIR in CI) to fall back to out; --out overrides both and --world overrides world.
dir? โ
optionaldir?:string
The .minecraft folder, relative to the config; ~ is allowed.
world? โ
optionalworld?:string
World save folder name under saves/, e.g. "Test".
name โ
name:
string
Defined in: config.ts:13
optimize? โ
optionaloptimize?:OptimizeOptions
Defined in: config.ts:48
Output optimization passes, applied in every mode. Turn one off to debug its output.
out? โ
optionalout?:object
Defined in: config.ts:39
Output folders, relative to the config, used when no minecraft.dir is set. A datapack path ending in .zip is zipped. Default out/<name>; resourcePack is only written when set.
datapack? โ
optionaldatapack?:string
resourcePack? โ
optionalresourcePack?:string
targets? โ
optionaltargets?:RuntimeTarget[]
Defined in: config.ts:19
Runtimes to build. Default ["vanilla"]; others write to <out>-<target>.
version? โ
optionalversion?:VersionProfile
Defined in: config.ts:15
Minecraft version. Set it here or in the entry's definePack({ version }, ...), not both.
world? โ
optionalworld?:string
Defined in: config.ts:44
World save folder, where helix profile finds dumps, when no minecraft.dir is set. Default: two levels above out.datapack.