dec: 101 hex: 65 bin: 1100101
Iron bars are blocks that serve a similar purpose to glass panes, but made of iron instead of glass blocks.
Iron bars can be mined using any pickaxe. If mined without a pickaxe, it will drop nothing.
|Breaking time[note 1]|
- Times are for unenchanted tools in seconds.
Iron bars can be used to create arrow slits when placed between a door and a solid block. This creates a small gap between the door and the iron bars which mobs can see through (and will attempt to attack the player through), and which arrows can be shot out of. Arrows cannot be shot through iron bars themselves, despite the latter appearing to have gaps (at least while using the default texture pack) inside the block. If shot between the bars, an arrow will look like the arrow is floating in such a gap.
Torches cannot be placed on the top of iron bars while blocks can.
Iron bars can be placed in much the same way as fences or glass panes. If no solid block is adjacent to the bars, they have appearance of a slim, tall column. If something is placed next to iron bars, they will appear either flat, shaped, shaped or shaped, depending on the blocks surrounding it.
- See also: Block states
||When true, the bars extend from the center of the block in this direction.|
||Whether or not there's water in the same place as the bars.|
|July 11, 2011||Notch revealed two new screenshots of a stronghold (in two different brightness settings) where the bars can be clearly seen alongside other common stronghold blocks. The lighting differences have been explained a bit (though not necessarily completely correctly) by a user on the forums.|
|1.8||?||Added iron bars.|
|1.4.2||12w32a||Zombie villagers can be cured. Putting iron bars close to the zombie villager will help speed up the process.|
|1.7.2||13w41a||Iron bars connect to glass, stained glass and glass panes.|
|1.8||?||Iron bars on top of one another will display a texture at the top/bottom joint of the two blocks.|
|Iron bars lost their side edge texture.|
|1.9||15w31a||Iron bars without any connecting blocks are now 2x2 pixels in footprint (like a •, rather than a +.)|
|The tallest obsidian pillars had iron bars around their end crystals, until 16w07a.|
|15w43a||Iron bars now generate within igloo basements.|
|15w46a||Iron bars again have their side edge texture.|
|16w07a||Iron bars were removed from obsidian pillars, until 1.9-pre1.|
|pre1||Two of the shorter, thinner obsidian pillars in the End now have a cage of iron bars around their end crystals.|
|1.11||16w39a||Iron bars now generate in woodland mansions.|
|1.12||17w15a||Iron bars now connect to the solid back sides of stairs.|
|1.13||17w47a||Prior to The Flattening, this block's numeral ID was 101.|
|18w10c||Water can now be placed on the same block as iron bars.|
|Pocket Edition Alpha|
|0.8.0||build 2||Added iron bars.|
|0.9.0||build 1||Iron bars now spawn naturally in strongholds and villages.|
|1.0||build 1||Iron bars now generate on top of end pillars.|
|Iron bars now generate within igloo basements.|
|1.1||build 1||Iron bars now generate in woodland mansions.|
|Legacy Console Edition|
|TU5||CU1||1.0||Patch 1||Patch 1||Added iron bars.|
|TU54||CU44||1.52||Patch 24||Patch 4||Iron bars now connect to the solid back side of stairs.|
- A 2x2 area made of the iron bars can make a square shaped hole big enough for the player and most mobs to fit through, but not rain, water, etc. that can be used as an easy entrance for an underwater house, and even an exit if pistons are used. Glass panes work in the same way.
- If a sign or a painting is placed on the iron bars, it appears to float in the air.
- Iron bars also prevent fire from spreading, i.e. surrounding a fire with iron bars will prevent wooden items from being lit aflame.
- Despite apparently being thin enough to do so, iron bars do not let a ghast's explosion touch the block beneath them as long as the block is protected from other angles of the explosion affecting it. This, in theory, means you should be able to use iron bars and sticky pistons to make openable/closeable shutters.
- If an iron bar is connected to a block and a rail is placed on the block, the top texture of the iron bar disappears.
- While curing a zombie villager, iron bars placed nearby will speed up the healing process. The same happens with beds, and both these things occur in the stereotypical prison cell, encouraging players to imprison them.
- If placed on top of a single cactus, only the corners can damage.
- The player cannot shoot arrows through iron bars.
- Since iron bars are 1 block high, the player can normally jump over iron bars unlike fences.
- In the code, iron bars are known as fenceIron.
A jail cell made out of iron bars and cobblestone.