Appearance
helix / CommandValue
Interface: CommandValue
Defined in: core/values/value.ts:9
A domain concept that renders to a single command token (a position, a block, an item, ...). Rendering is deferred to codegen and given the target version, so a concept can encode itself differently per version (e.g. item data components vs NBT) - the author programs with the concept, not the string.
Methods
render()
render(
version):string
Defined in: core/values/value.ts:10
Parameters
version
Returns
string