Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / HelixConfig

Interface: HelixConfig โ€‹

Defined in: config.ts:12

Properties โ€‹

debug? โ€‹

optional debug?: 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? โ€‹

optional layout?: FunctionLayout

Defined in: config.ts:50

Where private functions go: one zzzprivate/ tree (split, default) or <owner>/zzz/ (beside).


minecraft? โ€‹

optional minecraft?: 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? โ€‹

optional dir?: string

The .minecraft folder, relative to the config; ~ is allowed.

world? โ€‹

optional world?: string

World save folder name under saves/, e.g. "Test".


name โ€‹

name: string

Defined in: config.ts:13


optimize? โ€‹

optional optimize?: OptimizeOptions

Defined in: config.ts:48

Output optimization passes, applied in every mode. Turn one off to debug its output.


out? โ€‹

optional out?: 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? โ€‹

optional datapack?: string

resourcePack? โ€‹

optional resourcePack?: string


targets? โ€‹

optional targets?: RuntimeTarget[]

Defined in: config.ts:19

Runtimes to build. Default ["vanilla"]; others write to <out>-<target>.


version? โ€‹

optional version?: VersionProfile

Defined in: config.ts:15

Minecraft version. Set it here or in the entry's definePack({ version }, ...), not both.


world? โ€‹

optional world?: 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.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.