Trapped chest – official minecraft wiki left chest pain

A trapped chest placed adjacent to another trapped chest will typically join to create a large trapped chest (also known as a double trapped chest). To avoid them joining and instead place two single trapped chests side-by-side, the player may sneak while placing the second trapped chest, [ Java Edition only] [ upcoming 1.13] or place the second trapped chest facing a different direction from the first one. [ Bedrock and Java editions only] [ upcoming 1.13] Alternately, normal chests do not combine with trapped chests. A trapped chest cannot be placed in a way that causes a large trapped chest to be next to another one horizontally (for example, placing a small trapped chest next to a large one and placing another small one in between them), [ Java and Legacy Console editions only] [ until 1.13] but trapped chests can be placed above or below a large one.

Trapped chests can be moved by pistons, [ Bedrock Edition only] and water and lava will flow around them without affecting them. Lava can create fire in air blocks next to trapped chests as if they were flammable, but they will not burn up (and can’t be burned by other methods either).

A single trapped chest has 27 slots of inventory space, and a large trapped chest has 54 slots of inventory space. In a large trapped chest, 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.

To open the trapped chest GUI, use the Use Item control. To move items between the trapped chest inventory and the player inventory or hotbar while the trapped chest GUI is open, drag or shift-click the items. By holding ⇧ Shift and double-clicking while holding an item, all items of a type clicked on will be moved into or out of the chest. To exit the trapped chest GUI, use the Esc control.

By default, the GUI of a trapped chest is labeled Chest and the GUI of a large trapped chest is labeled Large Chest. A trapped chest’s GUI label can be changed by naming the trapped chest in an anvil before placing it, or by using the blockdata command (for example, to label a trapped chest at (0,64,0) Loot!, use blockdata 0 64 0 {CustomName:Loot!}). If only half of a large trapped chest is renamed, that name will be used to label the GUI of the entire large trapped chest, but if the named half is destroyed the other half will revert to the default label. If both halves of a large trapped chest have different names, the GUI will be labeled with the name of the northernmost or westernmost half of the large trapped chest depending on its orientation (the half with the lowest coordinate in the appropriate axis).

A trapped chest can be locked by setting the trapped chest’s Lock tag. If a trapped chest’s Lock tag is not blank, the trapped chest cannot be opened except by players holding an item with the same name as the Lock tag’s text. A trapped chest’s Lock tag can be set or unset with the blockdata command. For example, to lock a trapped chest at (0,64,0) so that only players holding an item named Alice’s Key can open the trapped chest, use blockdata 0 64 0 {Lock:Alice’s Key}.