Item Barrel
Item barrels store large quantities of one item. When broken, all data is retained. Like most inventories, barrels provide comparator output.
Barrels can be inserted into or extracted from (by hoppers, pipes, etc.) on all sides.
To extract one item from a barrel, punch it. To extract an entire stack, punch it while sneaking.
To insert the stack you're holding, use (right-click) the block. To insert all possible stacks, double-use the block (right-click twice).
Barrels can be locked or unlocked. A locked barrel will only ever accept one type of item, while an unlocked one forgets its stored item when empty. Barrels are locked by default. Unlocked barrels display an asterisk (*) on their face.
To lock or unlock a barrel, sneak and use it. Text will appear describing the state of the barrel.
See: Upgrades
Barrels accept up to 6 upgrades.
In previous versions of Stockpile, barrels were upgraded in an anvil. This is no longer the case. See the linked page for more info on upgrades.
If an item is removed from the game, Stockpile will clear the contents of any barrels that contained it.
- Hoppers pulling from and inserting into barrels at the same time may delete items (unconfirmed).