Iron Bars

"Bars" redirects here. For other uses, see Bar.
Iron Bars
Iron Bars (EW).png: Infobox image for Iron Bars the block in Minecraft
Invicon Iron Bars.png: Inventory sprite for Iron Bars in Minecraft as shown in-game with description: Iron Bars
Renewable

Yes

Stackable

Yes (64)

Tool

Blast resistance

6

Hardness

5

Luminous

No

Transparent

Yes

Waterloggable

Yes

Flammable

No

Catches fire
from lava

No

Map color (JE)


 0 NONE

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

Obtaining

Breaking

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

Block
Hardness 5
Tool
Breaking time (sec)[A]
Default 25
BlockSprite oak-planks.png: Sprite image for oak-planks in MinecraftWooden 3.75
BlockSprite cobblestone.png: Sprite image for cobblestone in MinecraftStone 1.9
ItemSprite copper-ingot.png: Sprite image for copper-ingot in MinecraftCopper
1.5
ItemSprite iron-ingot.png: Sprite image for iron-ingot in MinecraftIron 1.25
ItemSprite diamond.png: Sprite image for diamond in MinecraftDiamond 0.95
ItemSprite netherite-ingot.png: Sprite image for netherite-ingot in MinecraftNetherite 0.85
ItemSprite gold-ingot.png: Sprite image for gold-ingot in MinecraftGolden 0.65
Legend
  • 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
  1. These durations ignore other influential factors (e.g. Mining Fatigue), and are measured in seconds. For more information, see Breaking § Speed.

Natural generation

Iron bars can generate in strongholds, woodland mansions, savanna villages, desert villages, plains villages, igloo basements, ruined portals, and trail ruins.

In the End, there are two End spikes that have iron bars around their End crystals.


Crafting

Ingredients Crafting recipe
Iron Ingot
Invicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron Ingot
Invicon Iron Bars.png: Inventory sprite for Iron Bars in Minecraft as shown in-game with description: Iron Bars16

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

Post-generation

Iron bars regenerate on the end spikes whenever the ender dragon is respawned.

Usage

Iron bars used to create arrow slits.

As with glass panes and fences, iron bars can be used to create narrow slits when placed between a door and a solid block. Mobs can see through and attack through these gaps, and arrows may be shot through them. Also as with fences and glass panes, arrows cannot be shot through iron bars themselves.

Endermen seen through iron bars do not become angry. The ender dragon cannot 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.

Sounds

Java Edition:

BlockSprite block-of-iron.png: Sprite image for block-of-iron in Minecraft iron sound type
SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
​Block brokenBlocksOnce the block has brokenblock.iron.breaksubtitles.block.generic.break1.00.816
​Block placedBlocksWhen the block is placedblock.iron.placesubtitles.block.generic.place1.00.816
​Block breakingBlocksWhile the block is in the process of being brokenblock.iron.hitsubtitles.block.generic.hit0.250.516
​Something falls on a blockEntity-DependentFalling on the block with fall damageblock.iron.fallsubtitles.block.generic.fall0.50.7516
​FootstepsEntity-DependentWalking on the blockblock.iron.stepsubtitles.block.generic.footsteps0.151.016

Bedrock Edition:

BlockSprite block-of-iron.png: Sprite image for block-of-iron in Minecraft iron sound type
SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokenbreak.iron1.00.8
BlocksWhen the block is placedplace.iron1.00.8
BlocksWhile the block is in the process of being brokenhit.iron0.30.5
PlayersFalling on the block with fall damagestep.iron1.01.0
PlayersWalking on the blockstep.iron0.21.0
PlayersJumping from the blockstep.iron0.121.1
PlayersFalling on the block without fall damagestep.iron0.41.0

Data values

ID

Java Edition:

NameIdentifierFormTranslation key
BlockSprite iron-bars.png: Sprite image for iron-bars in Minecraft Iron Barsiron_barsBlock & Itemblock.minecraft.iron_bars

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1]Translation key
BlockSprite iron-bars.png: Sprite image for iron-bars in Minecraft Iron Barsiron_bars101Block & Giveable Item[i 2]Identical[i 3]tile.iron_bars.name
  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Available with /give command.
  3. The block's direct item form has the same ID as the block.

Block states

See also: Block states

Java Edition:

Name Default value Allowed values Description
eastfalsefalse
true
When true, the iron bars extend from the center post to the east.
northfalsefalse
true
When true, the iron bars extend from the center post to the north.
southfalsefalse
true
When true, the iron bars extend from the center post to the south.
waterloggedfalsefalse
true
Whether or not there's water in the same place as these iron bars.
westfalsefalse
true
When true, the iron bars extend from the center post to the west.

History

There is an associated page listing all historical changes related to the appearance and/or sounds associated with this block in further detail than below; see /Asset history.
Java Edition Beta
July 11, 2011Notch 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.8Pre-release Added iron bars.
Iron bars currently do not render their side edge faces. Also, their top and bottom faces are correctly not rendered when connected to other blocks.
Java Edition
1.0.0Beta 1.9 Prerelease 6The breaking time for iron bars is now greatly reduced, and depends on the pickaxe's material.
1.4.212w32aZombie villagers can now be cured. Putting iron bars close to the zombie villager helps speed up the process.
1.7.213w41aIron bars now connect to glass, stained glass, and glass panes.
1.814w03a Iron bars now appear completely opaque.
14w03b Iron bars now render as normal again.[1]
14w10a Textures are now mapped differently.
Iron bars on top of one another now display a texture at the top/bottom joint of the two blocks.[2]
Culling no longer works horizontally, either.
?Horizontal culling for iron bars is fixed.
14w25a Now subject to directional shading.
1.915w31a Iron bars without any connecting blocks are now 2x2 pixels in footprint (rather than .)
The outside edges of iron bars now have textures.
The tallest obsidian pillars had iron bars around their end crystals, until 16w07a.
The ender dragon can no longer destroy iron bars.
15w43aIron bars now generate within igloo basements.
15w46aIron bars center beams now have both edge side texture, which has changed the textures from to .
16w07aIron bars have been removed from end spikes.
pre1Two of the shorter, thinner end spikes in the End now have a cage of iron bars around their end crystals.
1.1116w39aIron bars now generate in woodland mansions.
1.1217w15aIron bars now connect to the solid back sides of stairs.
1.1318w10cWater can now be placed on the same block as iron bars.
1.1418w43a The textures of iron bars have been changed.
1.14.3pre3Torches can now be placed on iron bars.
1.1620w15aWalls now connect to the bottom and sides of iron bars.
20w16aIron bars can now generate as part of ruined portals.
1.2023w12aIron bars can now generate in trail ruins.
1.21.525w02aAdded new break, place, step, fall and hit sounds.
Pocket Edition Alpha
v0.8.0build 1 Added iron bars.
v0.9.0build 1Iron bars now spawn naturally in strongholds and villages.
Pocket Edition
1.0.0alpha 0.17.0.1Iron bars now generate on top of end spikes.
Iron bars now generate within igloo basements.
1.1.0alpha 1.1.0.0Iron bars now generate in woodland mansions.
Bedrock Edition
1.2.0beta 1.2.0.2 Iron bars without any connecting blocks are now 2x2 pixels in footprint (rather than .)
1.10.0beta 1.10.0.3 Invicon Iron Bars BE.png: Sprite image for Iron Bars BE in Minecraft The textures of iron bars have been changed.
1.16.0beta 1.15.0.51 The inventory icon of iron bars has now been changed to match Java Edition's.
beta 1.16.0.57Iron bars can now generate as part of ruined portals.
1.21.60Preview 1.21.60.25Added new break, place, step, fall and hit sounds.
Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU5CU11.001.001.00Patch 11.0.1 Added iron bars.
Iron bars can be found in the Miscellaneous tab in the Creative inventory.
Iron bars now generate in strongholds.
TU9Iron bars now generate on the two tallest end spikes in the End.
TU19CU71.121.121.12Moved iron bars to the "Building Blocks" tab in the Creative inventory.
TU25CU141.171.171.17Iron bars now connect to glass, stained glass, and glass panes.
TU43CU331.361.361.36Patch 13Iron bars now generate within igloo basements.
TU46CU361.381.381.38Patch 15 Iron bars on top of one another now display a texture at the top/bottom joint of the two blocks.
Iron bars without any connecting blocks are now 2x2 pixels in footprint (rather than .)
TU54CU441.521.521.52Patch 241.0.4Iron bars now generate in woodland mansions.
Iron bars now connect to the solid back side of stairs.
1.90 The textures of iron bars have been changed.
New Nintendo 3DS Edition
0.1.0 Added iron bars.

Data history

Java Edition
1.1317w47aPrior to The Flattening, this block's numeral ID was 101.

Issues

Issues relating to "Iron Bars" are maintained on the bug tracker. Issues should be reported and viewed there.

Trivia

  • In Java Edition, 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.
  • 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.
  • Arrows cannot be shot through iron bars.
  • Because iron bars are 1 block high, the player can normally jump over iron bars, unlike fences.

Gallery

Renders

Screenshots

References

  1. MC-44990
  2. MC-50349 — Iron Bars and glass panes are rendered incorrectly when connected
  3. "Iron bars: 1 Zombies: 0"@Minecraft (Minecraft) on X (formerly Twitter), November 28, 2023

Navigation