Chest

Chests are blocks that store items.

Obtaining
A chest can be broken using any tool, but an axe is the fastest.

If the chest contains items, the items will also be dropped when it is broken. If one half of a double chest is destroyed, the corresponding items from the destroyed chest will be dropped and the remaining chest will continue to function as a small chest.

Naturally generated
Chests occur naturally in dungeons, abandoned mineshafts, strongholds, jungle temples, desert temples, nether fortresses, and villages.

Chests spawn naturally if the bonus chest option is enabled in the world options menu.

Minecarts with chests
Breaking a minecart with chest drops the chest, the minecart and the contents of the storage minecart. These occur naturally in abandoned mineshafts.

Usage
A chest is opened by pressing the use item key (right-click by default) while looking at the chest, and closed by pressing or the inventory key ( by default).

A single chest can store up to 27 stacks of items, displayed in 3 rows of 9.

A double chest is created by placing two chest blocks adjacent to each other. Double chests have 54 storage slots and open the same as a single chest, only with six rows of slots. The top three rows in the interface correspond to the western or northern chest block and the bottom three to the southern or eastern chest block.

A chest renamed using an anvil will display its custom name when placed as a block.

Filling
Items in chests can be quickly transferred to and from a player's inventory by holding and clicking on the item; this will move all items in the slot to a free slot in the inventory. If an item in the inventory is clicked, it will move into the first available slot in the chest.

By holding and double-clicking while holding an item, all items of a type clicked on will be moved into or out of the chest.

Placement
Chests cannot be placed next to a double chest, except above or below the chest.

Chest cannot open if there is an opaque block or ocelot above it. Since chests are transparent, they can be stacked on top of one another while still allowing the chests to open.

Bonus chest


A bonus chest will generate in the player's spawn if the "Bonus Chest" option is enabled in the World Options menu. It can't be activated in Hardcore Mode.

The bonus chest acts as a starter kit. It generates only once in newly created worlds in which it was enabled, and is filled with basic items that may help the player survive early on and get them started gathering resources and building shelter more quickly.

Up to four torches will spawn around the chest in adjacent horizontal and vertical squares.

Each seed's Bonus Chest will always contain the same items, except in the console edition, where the loot is generated separately.

Bonus chests contain up to ten item stacks, chosen from the following list:

The bonus chest in the console edition may contain any of the above items, except acacia wood. It also may contain the following items:

Data values
Every chest has an ID name of  and is further defined by its block data and block entity. A chest also has a block state which is expected to replace the functionality of block data in a future version.

Block data
A chest's block data stores its facing:

Block entity
Every chest has a Chest block entity associated with it that holds additional data about the chest.

Trivia

 * On December 24 and December 25, chests have textures of presents. The presents are red with a yellow bow (normal) or are green with a white bow (large).
 * In April 2011, a Locked Chest was implemented until April 5th as an April Fools joke and was also referred to as "Steve Co. Supply Crate", referencing Valve's "Team Fortress 2".
 * When a chest is broken, it has the same particle effect as Wooden Planks.
 * In Pocket Edition, however, the breaking particles concur with the chest's texture.
 * Using commands, it is possible to create a large chest out of three or more chests, although it some chests will be invisible or will have no opening sound or animation, and the gui will also be bugged.
 * One method to do this is to make a superflat world out of chests. (They will all be invisible.)
 * Another method is to place two chests with one block between them, and then use to place a chest in between them, or  to summon in a falling sand chest that will land between them.