Minecraft Wiki
Advertisement

A trapped chest is a variant of the chest that functions similarly, but has a red-tinted latch (with the default resource pack), and produces redstone power while it is open.

Like normal chests, two trapped chests can combine into a large trapped chest.

Obtaining[]

Breaking[]

Trapped chests can be broken with any tool, but axes are the fastest. 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.

Block Trapped Chest
Hardness 2.5
Tool
Breaking time[A]
Default 3.75
Wooden 1.9
Stone 0.95
Iron 0.65
Diamond 0.5
Netherite 0.45
Golden 0.35
  1. Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.

Natural generation[]

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

Crafting[]

Ingredients Crafting recipe
Tripwire Hook +
Chest


Usage[]

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

To place a trapped chest, place 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. 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.

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).

Trapped chests can also activate buried TNT, destroying themselves, their contents and any mobs or players near them. They need to be opened twice for the TNT to be activated.

Container[]

Chest GUI

The GUI of a trapped chest.

Large Chest GUI

The GUI of a large trapped chest.

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‌[Java Edition only] (for example, to label a trapped chest at (0,64,0) "Loot!", use /data merge block 0 64 0 {CustomName:'"Loot!"'}). If 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[]

Chest-Comparsion

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.

See also: Redstone circuit

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 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 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.

Piglins[]

Piglins become hostile toward players who open, break or interact with trapped chests.

Fuel[]

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

Note Blocks[]

Trapped chests can be placed under note blocks to produce "bass" sound.

Christmas chest[]

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

Sounds[]

Generic[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
Block placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
Block breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.wood.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokendig.wood1.00.8-1.0
BlocksWhen the block is placeddig.wood1.00.8
BlocksWhile the block is in the process of being brokenhit.wood0.230.5
PlayersFalling on the block with fall damagefall.wood0.41.0
PlayersWalking on the blockstep.wood0.31.0
PlayersJumping from the blockjump.wood0.121.0
PlayersFalling on the block without fall damageland.wood0.181.0

Unique[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Chest closesBlocksWhen a trapped chest closesblock.chest.closesubtitles.block.chest.close0.50.9-1.016
Chest opensBlocksWhen a trapped chest opensblock.chest.opensubtitles.block.chest.open0.50.9-1.016
Chest locked[sound 1]BlocksWhen a player attempts to open a trapped chest locked using the  Lock tagblock.chest.locked[sound 1]subtitles.block.chest.locked[sound 1]1.01.016
  1. a b c MC-98316 — Wrong subtitles caused by missing distinction

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksWhen a chest closesrandom.chestclosed0.50.9-1.0
BlocksWhen a chest opensrandom.chestopen0.50.9-1.0

Data values[]

ID[]

Java Edition:

NameIdentifierFormBlock tagsTranslation key
Trapped Chesttrapped_chestBlock & Itemguarded_by_piglinsblock.minecraft.trapped_chest
NameIdentifier
Block entitytrapped_chest

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1]Translation key
Trapped Chesttrapped_chest146Block & Giveable Item[i 2]Identical[i 3]tile.trapped_chest.name
  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Available with /give command.
  3. The block's direct item form has the same id as the block.
NameSavegame ID
Block entityChest

Block states[]

See also: Block states

Java Edition:

Name Default value Allowed values Description
facingnortheast
north
south
west
The direction the chest's latch is on.
The 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:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
facing_direction
(Hidden‌[upcoming: BE 1.20.40])
0x1
0x2
0x4
22
3
4
5
2
3
4
5
The direction the chest's latch is on.
  • 2: Chest facing north
  • 3: Chest facing south
  • 4: Chest facing west
  • 5: Chest facing east
0
1
0
1
Unused
minecraft:cardinal_direction‌[upcoming: BE 1.20.40]Not Supportednortheast
north
south
west
UnsupportedThe direction the chest's latch is on.
The opposite from the direction the player faces when placing a chest.

Block data[]

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

Java Edition:

  • Block entity data
    • Tags common to all block entities
    •  CustomName: Optional. The name of this container in JSON text component, which appears in its GUI where the default name ordinarily appears.
    •  Items: List of items in this container.
      • : An item, including the slot tag. Chest slots are numbered 0-26, 0 starts in the top left corner.
        • Tags common to all items
    •  Lock: Optional. When not blank, prevents the container from being opened unless the opener is holding an item whose name matches this string.
    •  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]
    •  gold: Exists only in the april fools snapshot 23w13a_or_b. Optional. When set to anything but 0, turns the chest into a golden chest.
  1. a b Both loot table tags are removed once the items have been generated.

Bedrock Edition:

See Bedrock Edition level format/Block entity format.

Video[]

History[]

Java Edition
1.513w01aTrapped Chest Trapped Large Chest
Trapped Chest (N) JE1 BE1 Trapped Chest (E) JE1 BE1 Trapped Chest (S) JE1 BE1 Trapped Chest (W) JE1 BE1 Added trapped chests.
13w02aTrapped chests have 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 Xmas Large Chest 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 have been added; trapped chests now can use loot tables.
15w49aTrapped chests have 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 large 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.
Trapped chests now have the block entity ID trapped_chest.
17w47bTrapped chests now have the block entity ID chest again.
18w10cWater can now be placed on the same block as trapped chests.
1.1519w39aThe trapped chest texture layout has been changed.
?Trapped chests now have the block entity ID trapped_chest again.
Pocket Edition Alpha
v0.13.0build 1Trapped Chest Added trapped chests.
v0.14.0build 1Trapped Large Chest Trapped chests can now form large trapped chests.
v0.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.
Upcoming Bedrock Edition
1.20.40beta 1.20.40.20Trapped chests now use the minecraft:cardinal_direction block state instead of facing_direction.
Legacy Console Edition
TU19CU7 1.12 Patch 11.0.1Trapped Chest Trapped Large Chest Added trapped chests.
New Nintendo 3DS Edition
0.1.0Trapped Chest Trapped Large Chest Added trapped chests.

Issues[]

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

Trivia[]

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

References[]

Advertisement