Skip to content

helix / RuntimeTarget

Type Alias: RuntimeTarget

RuntimeTarget = "vanilla" | "paper"

Defined in: core/ir/target.ts:11

The runtime a pack is being compiled for. The same source can be built for more than one runtime: "vanilla" is a plain datapack that runs anywhere (singleplayer, any vanilla-compatible server); "paper" is a datapack meant to run on a Paper server alongside a companion plugin, where chosen ops are emitted as native plugin (Brigadier) calls instead of command expansions.

Only ctx.native(...) ops branch on this; every other command renders the same regardless of target.

Released under the MIT License · Credits