Iron Bars

Iron bars are blocks that serve a similar purpose to glass panes, but made of iron instead of glass.

Natural generation
Iron bars can be found in strongholds, woodland mansions large jail room, plains village weaponsmiths, desert village weaponsmiths, one of savanna village weaponsmith buildings, and igloo basements.

In the End, two of the shorter, thinner obsidian pillars have iron bars around their end crystals.

Post-generation
Iron bars regenerate on end pillars when the ender dragon is respawned.

Obtaining
Iron bars can be mined using any pickaxe. If mined without a pickaxe, it drops nothing.

Crafting
Iron bars are not a source of iron. Once crafted, iron bars cannot be smelted into iron nuggets or ingots.

Usage


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 that mobs can see through (and attempt to attack the player through), and through which arrows can be shot. 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 appears to float between the bars.

Endermen seen through iron bars do not become angry. The ender dragon can't destroy iron bars (some of the end crystals are protected by them), which makes them a useful material in the End.

Placement
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 appear either flat, shaped,  shaped or  shaped, depending on the blocks surrounding it.

Curing
Iron bars speed up the curing process of zombie villagers.

ID




Trivia

 * $$, a 2×2 area made of 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 iron bars, it appears to float in the air.
 * Iron bars also prevent fire from spreading, i.e. surrounding a fire with iron bars 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.
 * 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 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 are damaged.
 * The player cannot shoot arrows through iron bars.
 * Because 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.

Gallery
Železné mříže Eisengitter Barrotes Barreaux de fer 鉄格子 철창 Tralies Kraty Grades de Ferro Железная решётка 铁栏杆