Skip to content

helix / NbtPathValue

Class: NbtPathValue

Defined in: core/values/nbt.ts:106

An NBT path (nbt_path), rendered verbatim:

NbtPath("Inventory[0].id") -> "Inventory[0].id"

Implements

Constructors

Constructor

new NbtPathValue(path): NbtPathValue

Defined in: core/values/nbt.ts:107

Parameters

path

string

Returns

NbtPathValue

Methods

render()

render(): string

Defined in: core/values/nbt.ts:108

Returns

string

Implementation of

CommandValue.render

Released under the MIT License · Credits