Appearance
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 โ
readonlyitem:ItemValue
Defined in: core/values/block-entity-nbt/fields.ts:22
slot? โ
readonlyoptionalslot?:number
Defined in: core/values/block-entity-nbt/fields.ts:21