Minecraft:Trapped Chest
More actions
Template:Distinguish Template:Infobox block A trapped chest is a type of Minecraft:chest that functions almost identically, but has a red-tinted latch and produces Minecraft:redstone power while open.
Like normal chests, two trapped chests can merge into a large trapped chest if placed next to each other.
Obtaining
Breaking
Trapped chests can be broken with any Minecraft:tool, but Minecraft: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. Template:Breaking row
Natural generation
Trapped chests naturally generate in "fake end portal rooms" in Minecraft:woodland mansions. They always contain two Minecraft:ender pearls and activate the two nearby Minecraft:TNT blocks when opened.
Crafting
Usage
Trapped chests can be used as containers and as Minecraft:redstone components.
To place a trapped chest, Template:Control 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, a player may Template:Control while placing the second trapped chestTemplate:Only, or place the second trapped chest facing a different direction from the first one. Alternately, normal Minecraft:chests do not combine with trapped chests.
Trapped chests can be moved by pistons.Template:Only Minecraft:Water and Minecraft: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 Minecraft:TNT, destroying themselves, their contents and any Minecraft:mobs or players near them. They need to be opened twice for the TNT to be activated.
Container
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 Template:Control 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 Template:Key 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 Minecraft:anvil before placing it, or by using the Template:Cmd commandTemplate: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:{components:{"custom_name":"Alice's Key"}}}.
Redstone component
Trapped chests can be used to detect when they have been opened by players or Minecraft:copper golems.
A trapped chest is inactive while not being accessed, but activates when accessed by a player or copper golem. Accessing either part of a large trapped chest activates both halves of the large trapped chest. Other Minecraft:mobs cannot access/activate trapped chests, and trapped chest is not activated by items moving into or out of it by Minecraft:droppers or Minecraft:hoppers.
While active, a trapped chest:
- powers any adjacent Minecraft:redstone dust, including beneath the trapped chest, to a power level equal to the number of players or copper golems accessing the trapped chest at once (maximum 15)
- powers any adjacent Minecraft: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 or copper golems accessing the trapped chest (maximum 15)
- activates any adjacent mechanism components, including above or below, such as Minecraft:pistons, Minecraft: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 Minecraft: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
Minecraft:Piglins become hostile toward players who open, break or interact with trapped chests.
Fuel
Trapped chests can be used as a Minecraft:fuel in Minecraft:furnaces, smelting 1.5 items per chest.
Note blocks
Trapped chests can be placed under Minecraft:note blocks to produce "bass" sound.
Christmas chest
Template:Anchor Template:Exclusive 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. This makes normal and trapped chests impossible to identify unless a player places Minecraft:redstone dust or uses the Minecraft:debug screen.
Sounds
Generic
Template:Sound table/Block/Wood
Unique
Data values
ID
Template:Edition: Template:ID table Template:ID table
Template:Edition: Template:ID table Template:ID table
Block states
{{#lst:Chest|block states}}
Block data
Every trapped chest has a Minecraft:block entity associated with it that holds additional data about the trapped chest.
Template:El: Template:See also {{#lst:Chest|block data}}
Videos
History
Java Edition
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
Data history
Java Edition
Bedrock Edition
Issues
Trivia
- Trapped chests render as a full block when in the inventory, but not when placed.Template:Only<ref>Template:Bug</ref>
References
External links
Template:Navbox redstone Template:Navbox blocks
Minecraft:cs:Nástražná truhla Minecraft:de:Redstone-Truhe Minecraft:es:Cofre trampa Minecraft:fr:Coffre piégé Minecraft:it:Baule trappola Minecraft:ja:トラップチェスト Minecraft:ko:덫 상자 Minecraft:nl:Kist met valstrik Minecraft:pl:Skrzynia-pułapka Minecraft:pt:Baú com Armadilha Minecraft:ru:Сундук-ловушка Minecraft:uk:Скриня-пастка Minecraft:zh:陷阱箱