- 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 the container.
- : An item, including the slot tag. Barrel slots are numbered 0-26, 0 starts in the top left corner.
- Tags common to all items
- : An item, including the slot tag. Barrel slots are numbered 0-26, 0 starts 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 barrel 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 uses a random seed.[note 1]
Advertisement
Barrel/BE
< Barrel
Advertisement