Minecraft:Iron Trap: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{ | {{Joke feature}} | ||
{{ | {{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 == | ||
=== 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. | |||
{{breaking row|horizontal=1|Iron Trap|Pickaxe|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. | 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, and removing all the blocks that were previously in the iron bars' position, including blocks like [[Minecraft:bedrock]]. | ||
'''Cage rander''' | |||
{{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 == | ||
{{ | {{Sound table/Block/Iron/JE}} | ||
== Data values == | == Data values == | ||
{{ | === ID === | ||
{{ID table | |||
|edition=java | |||
|showblocktags=y | |||
|showitemtags=y | |||
|showforms=y | |||
|generatetranslationkeys=y | |||
|displayname=Iron Trap | |||
|spritetype=block | |||
|nameid=iron_trap | |||
|foot=1}} | |||
== Issues == | == Issues == | ||
| Line 26: | Line 75: | ||
== Trivia == | == Trivia == | ||
*According to one of the developers, iron and copper | *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 == | ||
{{ | {{reflist}} | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox blocks|Joke}} | ||
{{ | {{Navbox jokes|26w14a}} | ||
pt:Edição Java 26w14a/Iron Trap | [[Minecraft:pt:Edição Java 26w14a/Iron Trap]] | ||
zh:铁陷阱 | [[Minecraft:zh:铁陷阱]] | ||
Revision as of 11:13, 10 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.
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
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, and removing all the blocks that were previously in the iron bars' position, including blocks like Minecraft:bedrock.
Cage rander Template:Block structure renderer
Sounds
Data values
ID
Issues
Trivia
- According to one of the developers, iron and Minecraft:copper traps are a reference to the Minecraft:mod SecurityCraft.<ref>Template:Tweet</ref>