Iron Trap
Minecraft Wiki article. Categories: Joke_features, Minecraft_Work_in_progress, Minecraft_Work_in_progress_without_a_note, Pages_needing_images, Renewable_resources, Stackable_resources, Pages_using_simple_calculator, Pages_using_calculator…
This article is reproduced from Iron Trap on the Minecraft Wiki. Mirrored from revision 3723360. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
The specific instructions are: The cage of iron bars
{
"title": "Iron Trap",
"rows": [
{
"field": "<span nowrap;\"><span inline-block; background-color: #fff; border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> </span> Common",
"label": "(link to Rarity article, displayed as Rarity tier)"
},
{
"field": "Yes",
"label": "(link to Renewable resource article, displayed as Renewable)"
},
{
"field": "Yes (64)",
"label": "Stackable"
},
{
"field": "None",
"label": "Tool"
},
{
"field": "6",
"label": "(link to Explosion#Blast resistance article, displayed as Blast resistance)"
},
{
"field": "5",
"label": "(link to Breaking#Blocks by hardness article, displayed as Hardness)"
},
{
"field": "No",
"label": "(link to Light article, displayed as Luminous)"
},
{
"field": "Yes",
"label": "(link to Opacity article, displayed as Transparent)"
},
{
"field": "No",
"label": "(link to Fire#Flammable blocks article, displayed as Flammable)"
},
{
"field": "No",
"label": "Catches fire<br>from (link to lava article, displayed as lava)"
},
{
"field": "<span nowrap;\"><span inline-block; background-color: rgb(); border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 0 NONE</span>",
"label": "(link to Map item format#Color table article, displayed as Map color)"
},
{
"field": "Default (Harp)",
"label": "(link to Note Block#Instruments article, displayed as Note block instrument)"
}
],
"invimages": [
"Iron Trap"
],
"images": [
"Iron Trap.png"
]
}
An iron trap is a joke block only present in 26w14a.
Obtaining
Breaking
Although the iron trap has a drop, no vanilla tool is suitable for breaking it, so breaking it with any tool will have no effect. Furthermore, attempting to use Attack / Mine to order a tool to mine it will not happen, as tools only mine blocks that they can break.
However, it is still possible to make an iron trap block drop a living iron trap with an explosion.
Using cheats, it's possible to create a tool capable of mining it by modifying minecraft:tool.rules data component. Can be add this block in #mineable/pickaxe so that it can be mined by any pickaxe (additionally, adding a tag like #needs_iron_tool prevents it from being mined by some pickaxes.)
- incorrect tool, drops nothing
- correct tool, drops nothing or something other than the block itself
- correct tool, drops the block itself
- italicized can be instant mined
Post-generation
If at least eight living iron bars come close together, a living iron trap will form.
It can be placed as an item in a container by approaching an alive container or using a hopper.
It can be placed as a block with build, or somehow remove the action items from the hotbar.
Usage
Living iron traps attempt to pathfind towards the nearest player. When coming in contact with a player, it will spawn a cage of 25 iron bars around them, trapping them. The iron bars replace all blocks that were previously in the iron bars' positions, including otherwise unbreakable blocks.
Sounds
iron sound type | ||||||||
|---|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch | Attenuation distance |
| Block broken | Blocks | Once the block has broken | block | subtitles | 1.0 | 0.8 | 16 | |
| Block placed | Blocks | When the block is placed | block | subtitles | 1.0 | 0.8 | 16 | |
| Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.5 | 16 | |
| Something falls on a block | Entity-Dependent | Falling on the block with fall damage | block | subtitles | 0.5 | 0.75 | 16 | |
| Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 | |
Data values
ID
| Name | Identifier | Form | Block tags | Item tags | Translation key |
|---|---|---|---|---|---|
iron_trap | Block & Item | None | None | block |
Advancements
| Icon | Advancement | In-game description | Actual requirements (if different) |
|---|---|---|---|
![]() | You Played Yourself | Watch out for 8 iron (or copper) bars, they're dangerous in groups. When you least expect it! | Have 8 iron or copper bars combine into a trap. |
Issues
Issues relating to "Iron Trap" are not maintained on the bug tracker because it is an April Fools' joke, and is therefore not in the newest stable version or snapshot. Issues reported there are closed as "Invalid".
Trivia
- According to one of the developers, iron and copper traps are a reference to the mod SecurityCraft.[1]
References
- ↑ "Fun fact for those of you who played the April Fools' Day snapshot 26w14a and got imprisoned by an iron or copper trap: Those are a reference to the Cage Trap in the mod SecurityCraft that I've been a part of the dev team of since long before I joined Mojang. Did you notice it?" – @bl4ckscor3 on X (formerly Twitter), April 3, 2026
Navigation
Sources
- Iron Trap — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3723360.
