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

helix / SlottedItem

Interface: SlottedItem โ€‹

Defined in: core/values/block-entity-nbt/fields.ts:20

One item in a container's Items list. slot is optional so this also covers a partial block_predicate NBT match ("holds this item somewhere"), which vanilla matches by item id alone regardless of slot - omitting it renders just the stack, with no Slot key.

Properties โ€‹

item โ€‹

readonly item: ItemValue

Defined in: core/values/block-entity-nbt/fields.ts:22


slot? โ€‹

readonly optional slot?: number

Defined in: core/values/block-entity-nbt/fields.ts:21

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