Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Iron Trap: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Upstream update available|Minecraft:Iron Trap/Upstream}}
{{Joke feature}}
{{MC/Joke feature}}
{{Wip}}
{{MC/WIP}}
{{More images|The cage of iron bars}}
{{Infobox block
{{Infobox block
| image = Iron Trap.png
| image = Iron Trap.png
Line 7: Line 7:
| stackable = Yes (64)
| stackable = Yes (64)
| transparent = Yes
| transparent = Yes
| tool = None
| light = No
| lavasusceptible = No
| flammable = No
| Transparent = Yes
| rarity = Common
}}
}}
An '''iron trap''' is a block found in 26w14a.
An '''iron trap''' is a block found in [[Minecraft:26w14a]].


== Obtaining ==
== Obtaining ==
Have 8 or more iron bars close to each other.
 
=== 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 [[Minecraft: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 {{DCL|minecraft:tool.rules}} data component. Can be add this block in {{Tag link|block|mineable/pickaxe}} so that it can be mined by any pickaxe (additionally, adding a tag like {{tag link|block|needs_iron_tool}} prevents it from being mined by some pickaxes.)
 
{{breaking row|horizontal=1|Iron Trap|none}}
 
=== Post-generation ===
 
If at least eight [[Minecraft:Living Block|living]] [[Minecraft: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 [[Minecraft:Build (item)|build]], or somehow remove the action items from the hotbar.


== Usage ==
== Usage ==
When created, will attempt to pathfind towards the nearest player. When coming in contact with a player, it will spawn a cage of iron bars around them, trapping them.
[[Minecraft:Living Block|Living]] attempt to pathfind towards the nearest player. When coming in contact with a player, it will spawn a cage of iron bars around them, trapping them.
 
The copper cage has 25 iron bars (17 more than that used to produce the copper trap) and removing all the blocks that were previously in the iron bars' position, including blocks like [[Minecraft:bedrock]].
 
'''Cage render'''
{{Block structure renderer|
Z=iron_bars[north=true,south=true]
|X=iron_bars[east=true,west=true]
|a=iron_bars[east=true,south=true]
|b=iron_bars[west=true,south=true]
|c=iron_bars[east=true,north=true]
|d=iron_bars[west=true,north=true]
|Y=iron_bars[north=true,south=true,east=true,west=true]
|W=iron_bars[north=true,south=true,east=true]
|N=iron_bars[south=true,east=true,west=true]
|S=iron_bars[north=true,east=true,west=true]
|E=iron_bars[north=true,south=true,west=true]
|aXb,Z+Z,cXd;aXb,Z+Z,cXd;aNb,WYE,cSd
|marks=1,0,1#114514}}


== Sounds ==
== Sounds ==
{{MC/Empty Section}}
{{Sound table/Block/Iron/JE}}


== Data values ==
== Data values ==
{{MC/Empty Section}}
=== ID ===
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Iron Trap
|spritetype=block
|nameid=iron_trap
|foot=1}}
 
== Advancements ==
{{load advancements|You Played Yourself|page=Java Edition 26w14a}}


== Issues ==
== Issues ==
Line 26: Line 80:


== Trivia ==
== Trivia ==
*According to one of the developers, iron and copper traps are a reference to the [[Minecraft:mod]] SecurityCraft.<ref>{{Tweet|bl4ckscor3|2040056700078555477|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?}}</ref>
*According to one of the developers, iron and [[Minecraft:copper trap]]s are a reference to the [[Minecraft:mod]] SecurityCraft.<ref>{{Tweet|bl4ckscor3|2040056700078555477|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?}}</ref>


== References ==
== References ==
{{MC/Reflist}}
{{reflist}}


== Navigation ==
== Navigation ==
{{MC/Navbox blocks|Joke}}
{{Navbox blocks|Joke}}
{{MC/Navbox jokes|26w14a}}
{{Navbox jokes|26w14a}}


pt:Edição Java 26w14a/Iron Trap
[[Minecraft:pt:Edição Java 26w14a/Iron Trap]]
zh:铁陷阱
[[Minecraft:zh:铁陷阱]]

Latest revision as of 11:14, 11 April 2026

Template:Joke feature Template:Wip Template:More images Template:Infobox block An iron trap is a block found in Minecraft: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 Minecraft: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 Template:DCL data component. Can be add this block in Template:Tag link so that it can be mined by any pickaxe (additionally, adding a tag like Template:Tag link prevents it from being mined by some pickaxes.)

Template:Breaking row

Post-generation

If at least eight living Minecraft: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 attempt to pathfind towards the nearest player. When coming in contact with a player, it will spawn a cage of iron bars around them, trapping them.

The copper cage has 25 iron bars (17 more than that used to produce the copper trap) and removing all the blocks that were previously in the iron bars' position, including blocks like Minecraft:bedrock.

Cage render Template:Block structure renderer

Sounds

Template:Sound table/Block/Iron/JE

Data values

ID

Template:ID table

Advancements

Template:Load advancements

Issues

Template:April Fools issue list

Trivia

References

Template:Reflist

Navigation

Template:Navbox blocks Template:Navbox jokes

Minecraft:pt:Edição Java 26w14a/Iron Trap Minecraft:zh:铁陷阱