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

helix / CommandValue

Interface: CommandValue โ€‹

Defined in: core/values/value.ts:2

A typed value that renders to one command token the same way on every version.

Methods โ€‹

reach()? โ€‹

optional reach(): "self" | "world"

Defined in: core/values/value.ts:8

What the value points at: only the executing entity, or something every entity shares. Values that point at neither leave it out.

Returns โ€‹

"self" | "world"


render() โ€‹

render(): string

Defined in: core/values/value.ts:3

Returns โ€‹

string

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