Barrel

Barrels are tile entity storage blocks.

Obtaining
Barrels are currently only available from the creative inventory.

Usage
Barrels have the inventory of a chest. They have a GUI similar to that of chests as well, but can only be viewed in spectator mode; they can be filled by droppers and both filled and emptied by hoppers. Barrels currently do not drop the items they contain when they are broken.

Block entity
A barrel has a block entity associated with it that holds additional data about the block.