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

helix / IdentifiedBlockEntityNbt

Interface: IdentifiedBlockEntityNbt โ€‹

Defined in: core/values/block-entity-nbt/define.ts:11

A BlockEntityNbtValue whose schema named its block_entity_type.

Extends โ€‹

Properties โ€‹

blockEntityType โ€‹

readonly blockEntityType: string

Defined in: core/values/block-entity-nbt/define.ts:12

The block_entity_type this schema curates, when it names one.

Overrides โ€‹

BlockEntityNbtValue.blockEntityType


fields โ€‹

readonly fields: Record<string, unknown>

Defined in: core/values/block-entity-nbt/value.ts:11

Inherited from โ€‹

IdentifiedBlockEntityNbt.fields


lowered โ€‹

protected readonly lowered: true = true

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

Tells lowered values apart from plain objects (e.g. NBT compounds).

Inherited from โ€‹

BlockEntityNbtValue.lowered


schema โ€‹

readonly schema: Record<string, FieldSpec<never>>

Defined in: core/values/block-entity-nbt/value.ts:10

Inherited from โ€‹

IdentifiedBlockEntityNbt.schema


value โ€‹

readonly value: NbtInput

Defined in: core/values/nbt/snbt.ts:27

Inherited from โ€‹

BlockEntityNbtValue.value

Methods โ€‹

keys() โ€‹

keys(): string[] | undefined

Defined in: core/values/nbt/snbt.ts:32

The top-level keys of a compound, or undefined for raw SNBT or anything else.

Returns โ€‹

string[] | undefined

Inherited from โ€‹

BlockEntityNbtValue.keys

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