- Block entity data
- Tags common to all block entities
- CustomName: Optional. The name of this container in JSON text component, which appears in its GUI where the default name ordinarily appears.
- Items: List of items in this container.
- : An item, including the slot tag. Dispenser slots are numbered 0-8 with 0 in the top left corner.
- Tags common to all items
- : An item, including the slot tag. Dispenser slots are numbered 0-8 with 0 in the top left corner.
- Lock: Optional. When not blank, prevents the container from being opened unless the opener is holding an item whose name matches this string.
- LootTable: Optional. Loot table to be used to fill the dispenser when it is next opened, or the items are otherwise interacted with.[note 1]
- LootTableSeed: Optional. Seed for generating the loot table. 0 or omitted causes a random seed to be used.[note 1]
Advertisement
Dispenser/BE
Advertisement