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

helix / SimOptions

Interface: SimOptions โ€‹

Defined in: core/sim/sim.ts:9

The world a Sim runs in.

Properties โ€‹

block? โ€‹

readonly optional block?: (x, y, z) => string

Defined in: core/sim/sim.ts:11

The block id at a block position. Defaults to air everywhere.

Parameters โ€‹

x โ€‹

number

y โ€‹

number

z โ€‹

number

Returns โ€‹

string


blockTags? โ€‹

readonly optional blockTags?: Readonly<Record<string, readonly string[]>>

Defined in: core/sim/sim.ts:13

Members of vanilla block tags the pack tests, e.g. { "minecraft:air": ["minecraft:air"] }.


commandLimit? โ€‹

readonly optional commandLimit?: number

Defined in: core/sim/sim.ts:15

The game's maxCommandChainLength; one chain stops after this many commands.

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