Chest

"Today a chest or two is probably one of the first things you build in a new Minecraft world, and any house worth living in has a dedicated storage area that's organised carefully in a system that only its creator fully understands."

- Duncan Geere

A chest is a block that stores items.

Natural generation
Chests are naturally generated in dungeons, strongholds, jungle temples, desert temples, nether fortresses, villages, end cities, igloos, woodland mansions, shipwrecks, underwater ruins, buried treasures and pillager outposts.

A minecart with chest, when broken, drops a chest, a minecart, and any contents of the chest. They generate naturally in mineshafts.

In Java Edition, the loot for these chests (or for the bonus chest, see below) is fully determined by the seed, while in Legacy Console Edition and Bedrock Edition, the loot is determined randomly and independent of the seed.

Obtaining
Chests can be obtained by crafting, or by breaking previously-placed chests, generated chests, or minecarts with chests.

Breaking
A chest can be broken using anything, but an axe is the fastest.

If the chest contains items, the items are also be dropped when the chest is broken. If one half of a large chest is destroyed, the corresponding items from the destroyed chest are dropped and the remaining half continues to function as a small chest.

Bonus chest
The bonus chest is a chest with items that act as a starter kit. If the "Bonus Chest" option is set to "ON" in the "More World Options..." or "Game Settings" part of the "Create New World" screen, a single bonus chest is generated in the world. It appears somewhere near the player's initial spawn point, with up to four torches generated around it on adjacent blocks.

The Bonus Chest option is not available in hardcore mode or on servers, thus making the bonus chest unavailable as well.

The bonus chest generates with a semi-random collection of basic items that can help the player survive early on, getting them started at gathering resources, and making the objective of building an initial shelter easier.

The bonus chest in the Legacy Console Edition uses the same set of items as in Bedrock Edition.

Usage
Chests can be used as containers and as crafting ingredients.

To place a chest, use the control on the face of a block adjacent to the space the chest should occupy.

A chest placed adjacent to another chest joins to create a large chest (also known as a double chest). A player can prevent this, and place two small chests side-by-side, by while placing the second chest, or placing the second chest facing a different direction from the first chest. Alternately, trapped chests do not combine with normal chests.

Chests can be moved by pistons, and water and lava flows around chests without affecting them. Lava can create fire in air blocks next to chests as if the chests were flammable, but the chests do not actually catch fire (and can't be burned whatsoever).

Container


A small chest has 27 slots of inventory space, and a large chest has twice that amount, at 54 slots. In the Java Edition and Console Edition interfaces, the top three rows for a large chest correspond to the western or northern half and the bottom three correspond to the southern or eastern half. In Bedrock Edition, the top three rows correspond to whichever half was placed first and the bottom three to the other half.

Chests open when. To move items between the chest inventory and the player inventory or hotbar while the chest GUI is open, drag or shift-click the items. Holding and double-clicking while holding an item moves all items of the type clicked on in or out of the chest, to the extent that space is available for them. To exit the chest GUI, use the control.

A chest cannot be opened if there is an opaque block above it ($$, bottom-half slabs prevent chests from being opened). Solid faces do not prevent chests from opening, so the lid of the chest can phase through blocks such as bottom half slabs, bottom half stairs, and transparent full cubes such as glass and ice. Ocelots and cats will prevent chests from opening. Since chests themselves are (functionally) transparent, two chests can be stacked on top of one another while still allowing the lower chest to be opened. Players can open chests when players are being hurt (effect of instant damage, poison, wither, fatal poison or on fire) or hurt by anyone (players, zombies, skeletons, etc).

By default, the GUI of a chest is labeled "Chest" and the GUI of a large chest is labeled "Large Chest". A chest's GUI label can be changed by naming the chest in an anvil before placing it, or by using the command (for example, to label a chest at (0,64,0) as "Bonus Chest!", use ). If half of a large chest is renamed, that name is used to label the GUI of the entire large chest, but if the named half is destroyed the other half reverts to the default label. If both halves of a large chest have different names, the GUI uses the name of the northernmost or westernmost half.

$$, a chest can be "locked" by setting its  tag using the  command. If a chest's  tag is not blank, the chest cannot be opened unless the player is holding an item with the same name as the   tag's text. For example, to lock a chest at (0,64,0) so that the chest cannot be opened unless the player is holding an item named "Chest Key", use.

The capacity of a chest varies greatly, depending on its size, whether the items inside it are stackable, and whether Shulker Boxes are used. The minimum capacity is obtained when storing only non-stackable items while the maximum capacity can be achieved when storing items that stack to 64. Filled Shulker Boxes are non-stackable, but each can hold 27 stacks of up to 64 items (excluding other Shulker Boxes), so filling a chest with them increases the maximum by a factor of 27.

Donkey, mule, or llama pack
A chest can be added to a donkey, a mule, or a llama by pressing on the respective animal.

A chest attached to a donkey or mule has only 15 slots. A chest attached to a llama has anywhere from 3 to 15 slots depending upon its "Strength" value (see ). The chest cannot be removed except by killing the carrier. The chest can be opened by holding and pressing, or by riding the carrier and pressing.

If shulker boxes are again used, each donkey, mule or strength value 5 llama with a chest attached to it can carry up to 405 stacks of items (up to 25920 items), and with strength value 5 llamas, each caravan of 10 llamas with inventories full of shulker boxes can carry up to 4050 stacks of items (up to 259200 items).

Fuel
Chests can be used as a fuel in furnaces, smelting 1.5 items per chest.

Christmas chest
On 24-26 of December, chests, large chests and their trapped chest counterparts have their textures changed to "Christmas chests" that look like wrapped Christmas presents. Since the game uses the date shown on the computer, players can access the Christmas chest textures at any time by changing the date and time on their computers to 24-26 of December.

Block data
In Bedrock Edition, chests use the following data values:

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

Trivia

 * Chests render as a full block when in the inventory, but not when placed.


 * Aside from air and bedrock, chests are the only block in the game that can generate in all three dimensions.