| Rarity tier | Common |
|---|---|
| Renewable | Yes |
| Stackable | Yes (64) |
| Tool | None |
| Blast resistance | 6 |
| Hardness | 5 |
| Luminous | No |
| Transparent | Yes |
| Flammable | No |
| Catches fire from lava |
No |
| Map color | 0 NONE |
| Note block instrument | Default (Harp) |
An iron trap is a joke block exclusive to 26w14a.
Obtaining
Breaking
Although the iron trap has a drop, no vanilla tool is suitable for breaking it, so breaking it with any tool has no effect. Furthermore, attempting to use Attack / Mine to order a tool to mine it does not happen, because tools mine only the 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 is 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 forms.
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 toward the nearest player. When coming in contact with a player, it spawns 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[until: JE 26.4] | 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







