Difference between revisions of "Trapped Chest"
Decoration>JEC6789 m (Undo revision 1931649 by 47.31.243.220 (talk)) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 13:21, 13 May 2021
Renewable |
Yes |
---|---|
Stackable |
Yes (64) |
Tool | |
Blast resistance |
2.5 |
Hardness |
2.5 |
Luminant |
No |
Transparent |
Yes |
Flammable |
No |
Catches fire from lava |
Yes |
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.
Contents
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[FN 1] | ||
Default | 3.75 | |
Wooden | 1.9 | |
Stone | 0.95 | |
Iron | 0.65 | |
Diamond | 0.5 | |
Netherite | 0.45 | |
Golden | 0.35 |
- ↑ 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" (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.
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
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
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 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.
- Xmas Chest.png
- Xmas Large Chest.png
Sounds
Generic
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
File:Wood dig1.ogg | Block broken | Blocks | Once the block has broken | block.wood.break | subtitles.block.generic.break | 1.0 | 0.8 | 16 |
File:Wood hit1.ogg | None[sound 1] | Blocks | Falling on the block with fall damage | block.wood.fall | None[sound 1] | 0.5 | 0.75 | 16 |
File:Wood hit1.ogg | Block breaking | Blocks | While the block is in the process of being broken | block.wood.hit | subtitles.block.generic.hit | 0.25 | 0.5 | 16 |
File:Wood dig1.ogg | Block placed | Blocks | When the block is placed | block.wood.place | subtitles.block.generic.place | 1.0 | 0.8 | 16 |
File:Wood hit1.ogg | Footsteps | Blocks | Walking on the block | block.wood.step | subtitles.block.generic.footsteps | 0.15 | 1.0 | 16 |
Sound | Source | Description | Namespaced ID | Volume | Pitch |
---|---|---|---|---|---|
? | Blocks | Once the block has broken | dig.wood | 1.0 | 0.8 |
? | Blocks | Falling on the block with fall damage | fall.wood | 0.4 | 1.0 |
? | Blocks | While the block is in the process of being broken | hit.wood | 0.23 | 0.5 |
? | Blocks | Jumping from the block | jump.wood | 0.12 | 1.0 |
? | Blocks | Falling on the block without fall damage | land.wood | 0.18 | 1.0 |
? | Blocks | Walking on the block | step.wood | 0.3 | 1.0 |
? | Blocks | When the block is placed | use.wood | 1.0 | 0.8 |
Unique
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
File:Chest close1.ogg | Chest closes | ? | ? | block.chest.close | subtitles.block.chest.close | ? | ? | 16 |
File:Door close.ogg | Chest locked | ? | ? | block.chest.locked | subtitles.block.chest.locked | ? | ? | 16 |
File:Chest open.ogg | Chest opens | ? | ? | block.chest.open | subtitles.block.chest.open | ? | ? | 16 |
Data values
ID
Name | Namespaced ID | Block tags (JE) | Form | Translation key |
---|---|---|---|---|
Trapped Chest | trapped_chest | guarded_by_piglins | Block & Item | block.minecraft.trapped_chest |
Name | Namespaced ID |
---|---|
Block entity | trapped_chest |
Name | Namespaced ID | Numeric ID | Form | Translation key |
---|---|---|---|---|
Trapped Chest | trapped_chest | 146 | Block & Item | tile.trapped_chest.name |
Name | Savegame ID |
---|---|
Block entity | Chest |
Metadata
In Bedrock Edition, a trapped chest's block data stores its facing:
Block states
Block data
Every trapped chest has a block entity associated with it that holds additional data about the trapped chest.
Video
History
Java Edition | |||||
---|---|---|---|---|---|
1.5 | 13w01a | 30px 32px 32px 32px 32px 32px Added trapped chests. | |||
13w02a | Trapped chests have been moved from the Redstone section to the Decoration Blocks section in the creative mode inventory. | ||||
13w02b | Trapped chests now strongly power a block beneath them. | ||||
1.8.9 | 32px 32px Trapped chests now look like presents between December 24 and 26 to suit Christmas. | ||||
1.9 | 15w31a | Trapped chests now have their item model rotated, to have the front face in view of the player. | |||
15w43a | Loot tables have been added; trapped chests now can use loot tables. | ||||
15w49a | Trapped chests have been moved from the Decoration Blocks section to the Redstone section in the creative inventory, like they were in 13w01a. | ||||
16w05a | The crafting recipe for trapped chests is now shapeless.
| ||||
1.11 | 16w39a | Trapped chests now generate in woodland mansions. | |||
1.13 | 17w47a | Trapped 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. | |||||
Trapped chests now have the block entity ID trapped_chest . | |||||
17w47b | Trapped chests now have the block entity ID chest again. | ||||
18w10c | Water can now be placed on the same block as trapped chests. | ||||
? | Trapped chests now have the block entity ID trapped_chest again. | ||||
Pocket Edition Alpha | |||||
v0.13.0 | build 1 | 32px Added trapped chests. | |||
v0.14.0 | build 1 | 32px Trapped chests can now form double trapped chests. | |||
v0.15.0 | build 1 | Trapped chests can now be moved by pistons. | |||
? | A trapped chest's custom name now appears in the GUI. | ||||
Pocket Edition | |||||
1.1.0 | alpha 1.1.0.0 | Trapped chests now naturally generate in woodland mansions. | |||
Bedrock Edition | |||||
1.4.0 | Water can now be placed on the same block as trapped chests. | ||||
Legacy Console Edition | |||||
TU19 | CU7 | 1.12 | Patch 1 | 1.0.1 | 30px 32px Added trapped chests. |
New Nintendo 3DS Edition | |||||
0.1.0 | 30px 32px 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
cs:Nástražná truhla de:Redstone-Truhe es:Cofre trampa fr:Coffre piégé ja:トラップチェスト ko:덫 상자 nl:Kist met valstrik pl:Skrzynia-pułapka pt:Baú com armadilha ru:Сундук-ловушка zh:陷阱箱
- Pages with broken file links
- Renewable resources
- Decoration block recipe
- Recipe using Tripwire Hook
- Recipe using Chest
- Pages missing sound source
- Pages missing sound description
- Pages missing sound volume
- Pages missing sound pitch
- Pages with videos
- Unknown Java version history
- Unknown Pocket Alpha version history
- Redstone
- Upcoming
- Bedrock Edition upcoming tag
- Java Edition upcoming tag
- Pages using deprecated sprite names
- Pages with missing sprites
- Blocks
- Block entities
- Mechanisms
- Storage
Bedrock Edition upcoming tag
Block entities
Blocks
Decoration block recipe
Java Edition upcoming tag
Mechanisms
Pages missing sound description
Pages missing sound pitch
Pages missing sound source
Pages missing sound volume
Pages using deprecated sprite names
Pages with broken file links
Pages with missing sprites
Pages with videos
Recipe using Chest
Recipe using Tripwire Hook
Redstone
Renewable resources
Storage
Unknown Java version history
Unknown Pocket Alpha version history
Upcoming