Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Trapped Chest

From Minecraft Wiki
Jump to: navigation, search
Trapped Chest
Trapped Chest.gif
Trapped Double Chest.gif
Transparent

Yes

Luminance

0

Blast resistance

12.5

Hardness

2.5

Tool

Renewable

Yes

Stackable

Yes (64)

Flammable

No

Catches fire from lava

Yes

Drops
Block entity ID

See Data values

Data value

dec: 146 hex: 92 bin: 10010010

Namespaced ID

trapped_chest

Ash Davis Mojang avatar.png

Imagine you’ve made your own adventure realm. You’re creating a story for your players to experience. The adventurer/s have bested the dungeon’s deadliest foes, skipped happily over your web of trip wires, and danced around all the pressure plates you so carefully placed. Damn them. But nothing wipes the smirk [off] an adventurer’s face like a treasure chest loaded with TNT. That’s the sweet vengeance a trapped chest can bring.

Ash Davis[1]

A trapped chest functions as a normal chest for item storage, but it produces redstone power when opened. It can be visually distinguished from normal chests by a red coloration around the latch.

Natural generation[edit]

Trapped chests naturally generate in "fake end portal rooms" in woodland mansions.

Obtaining[edit]

Trapped chests can be obtained by crafting, or by breaking previously-placed trapped chests.

Breaking[edit]

To remove a trapped chest, mine it. Trapped chests can be broken using anything, but an axe is the fastest.

Block Trapped Chest
Hardness 2.5
Tool
Breaking time[note 1]
Hand 3.75
Wooden 1.9
Stone 0.95
Iron 0.65
Diamond 0.5
Golden 0.35
  1. Times are for unenchanted tools in seconds. For more information, see Haste § Instant mining.

Items contained in the chest are dropped when the chest is broken. If one half of a large trapped chest is destroyed, the corresponding items from the destroyed trapped chest are dropped and the remaining trapped chest continues to function as a small trapped chest.

Crafting[edit]

Ingredients Crafting recipe
Tripwire Hook +
Chest


Usage[edit]

Trapped chests can be used as containers and as redstone components.

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

Placing two adjacent trapped chests side-by-side typically joins them 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] or place the second trapped chest facing a different direction from the first one.‌[Bedrock and Java editions only] 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),‌[Legacy Console Edition only], but trapped chests can be placed above or below a large one.

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

Container[edit]

The default GUI of a large trapped chest, showing the large trapped chest's contents above the player's own inventory and hotbar.

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. 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 data command (for example, to label a trapped chest at (0,64,0) "Loot!", use /data merge block 0 64 0 {CustomName:"\"Loot!\""}). If only half of a large trapped chest is renamed, that name is used to label the GUI of the entire large trapped chest, but if the named half is destroyed, the other half reverts to the default label. If both halves of a large trapped chest have different names, the GUI label takes 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 data 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 data merge block 0 64 0 {Lock:"Alice's Key"}.

Redstone component[edit]

Chests (left) and trapped chests (right) can be placed next to each other. Redstone dust configures itself to point toward trapped chests, but not toward regular chests.

Trapped chests can be used to detect when their inventory is accessed by players.

A trapped chest is inactive while not being accessed, but activates when accessed by a player (see above). Accessing either part of a large trapped chest activates both halves of the large trapped chest. Mobs cannot access/activate a trapped chest, and a trapped chest is not activated by items moving into or out of it by droppers or hoppers.

While active, a trapped chest:

  • powers any adjacent redstone dust, including beneath the trapped chest, to a power level equal to the number of players accessing the trapped chest (maximum 15)
  • powers any adjacent redstone repeaters facing away from the trapped chest to power level 15
  • strongly powers any full solid opaque block (stone, dirt, block of gold, etc.) beneath the trapped chest to a power level equal to the number of players accessing the trapped chest (maximum 15)
  • activates any adjacent mechanism components, including above or below, such as pistons, redstone lamps, etc. Due to hoppers being locked by redstone activation, hoppers below a trapped chest do not take items from it while it is open.

An active trapped chest does not power any adjacent redstone comparators facing away from it. Redstone comparators can only measure the block state of the trapped chest, producing a power level from 0 to 15 proportional to how full the trapped chest is. Anything else powered by an active trapped chest (including a block beneath it) can power redstone comparators normally.

Fuel[edit]

Trapped chests can be used as a fuel in furnaces, smelting 1.5 items per chest.

Christmas chest[edit]

On December 24, 25, and 26, trapped chests and large trapped chests have their textures changed to Christmas chests that look like presents.

Sounds[edit]

Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Block breaking block.wood.hit subtitles.block.generic.hit Blocks 0.5 0.25 16
Block broken block.wood.break subtitles.block.generic.break Blocks 0.8 1.0 16
Block placed block.wood.place subtitles.block.generic.place Blocks 0.8 1.0 16
Footsteps block.wood.step subtitles.block.generic.footsteps Blocks 1.0 0.15 16
No subtitle block.wood.fall (Plays when fallen on from a height) Blocks 0.75 0.5 16
Chest closes block.chest.close subtitles.block.chest.close ? ? ? 16
Chest locked block.chest.locked subtitles.block.chest.locked ? ? ? 16
Chest opens block.chest.open subtitles.block.chest.open ? ? ? 16

Data values[edit]

ID[edit]

Java Edition:

Trapped Chest Namespaced ID
Block trapped_chest
Block entity chest

Bedrock Edition:

Trapped Chest Namespaced ID Numeric ID
Block trapped_chest 146
Block entity Chest -

Block data[edit]

In Bedrock Edition, a trapped chest's block data stores its facing:

Bits Values
0x1
0x2
0x4

A three-bit field storing a value from 2 to 5:

  • 2: Trapped chest facing north
  • 3: Trapped chest facing south
  • 4: Trapped chest facing west
  • 5: Trapped chest facing east

Invalid values default to 2.

0x8 Unused.

Block states[edit]

Java Edition:

Name Default value Allowed values Description
facingnortheast
north
south
west
The direction the chest's latch is on.
Opposite from the direction the player faces when placing a chest.
typesingleleft
right
single
The direction the chest has a connection with.
waterloggedfalsefalse
true
Whether or not there's water in the same place as this chest.

Bedrock Edition:

Name Default value Allowed values Description
facing_direction22
3
4
5
The direction the chest's latch is on.
Opposite from the direction the player faces when placing a chest.

Block entity[edit]

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

  • Block entity data
    • Tags common to all block entities see Template:Nbt inherit/blockentity/template
    •  CustomName: Optional. The name of this container in JSON text component, which display in its GUI where the default name ordinarily appears.
    •  Lock: Optional. When not blank, prevents the container from being opened unless the opener is holding an item whose name matches this string.
    •  Items: List of items in the container.
    •  LootTable: Optional. Loot table to be used to fill the chest when it is next opened, or the items are otherwise interacted with.[note 1]
    •  LootTableSeed: Optional. Seed for generating the loot table. 0 or omitted use a random seed.[note 1]
  1. a b Both loot table tags are removed once the items have been generated.

Video[edit]

History[edit]

Java Edition
1.513w01aTrapped Chest.gif Added trapped chests.
13w02aTrapped chests have now been moved from the Redstone section to the Decoration Blocks section in the creative mode inventory.
13w02bTrapped chests now strongly power a block beneath them.
1.8.9Xmas chest.pngXmas large chest.png Trapped chests now look like presents between December 24 and 26 to suit Christmas.
1.915w31aTrapped chests now have their item model rotated, to have the front face in view of the player.
15w43aLoot tables are added; trapped chests now can use loot tables.
15w49aTrapped chests have now been moved from the Decoration Blocks section to the Redstone section in the creative inventory, like they were in 13w01a.
16w05aThe crafting recipe for trapped chests is now shapeless.
1.1116w39aTrapped chests now generate in woodland mansions.
1.1317w47aTrapped chests can now be put directly next to their double variant instead of requiring one block between them.
Crouching while placing a trapped chest now makes it try to connect only to the clicked block.
Prior to The Flattening, this block's numeral ID was 146.
18w10cWater can now be placed on the same block as trapped chests.
Pocket Edition Alpha
0.13.0build 1Trapped Chest.gif Added trapped chests.
0.14.0build 1Trapped Double Chest.gif Trapped chests can now form double trapped chests.
0.15.0build 1Trapped chests can now be moved by pistons.
?A trapped chest's custom name now appears in the GUI.
Pocket Edition
1.1.0alpha 1.1.0.0Trapped chests now naturally generate in woodland mansions.
Bedrock Edition
1.4.0Water can now be placed on the same block as trapped chests.
Legacy Console Edition
TU19CU71.12Patch 1Patch s1Trapped Chest.gif Added trapped chests.
New Nintendo 3DS Edition
0.1.0Added Trapped Chests.

Issues[edit]

Issues relating to "Trapped Chest" are maintained on the bug tracker. Report issues there.

Trivia[edit]

  • Trapped chests render as a full block when in the inventory, but not when placed.‌[Bedrock Edition only][2]

References[edit]