Pixel art illustration of an iron bars in chunky voxel game style
Minecraft Java Item ID

Iron Bars ID

Iron Bars is an decorative block available in Minecraft Java Edition 1.21.11. It is used to detail and furnish builds, and is listed in the official item registry under minecraft:iron_bars.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:iron_bars

Iron Bars Item Facts

Maximum stack64
Available inSurvival and Creative
Historical numerical ID101

Historical numerical ID: Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Iron Bars

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:iron_bars 1

Customize this command →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 101 1

Give command syntax by version

Java 1.13+
/give @p minecraft:iron_bars 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 101 1 0
Numerical ID + data value

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Iron Bars

Crafting Recipe

Iron IngotIron IngotIron Ingot
Iron IngotIron IngotIron Ingot

Crafting table recipe — makes 16 × Iron Bars.

Prefer commands? Jump back to the give command matrix above to get Iron Bars instantly.

Build With Iron Bars

minecraft:iron_bars is in the reviewed block catalog. Open a command tool with this ID already selected, then adjust the coordinates in the tool.

Need a different material? Browse Minecraft Block IDs or compare the related blocks below.

About Iron Bars in Minecraft

Iron Bars is an decorative block available in Minecraft Java Edition 1.21.11. It is used to detail and furnish builds, and is listed in the official item registry under minecraft:iron_bars.

Iron Bars Command Examples

  • Give 1 to nearest player: /give @p minecraft:iron_bars 1
  • Give 1 to yourself: /give @s minecraft:iron_bars 1
  • Give to a specific player: /give PlayerName minecraft:iron_bars 1
  • Clear from inventory: /clear @p minecraft:iron_bars

Iron Bars FAQ

What is the item ID for Iron Bars?

The item ID for Iron Bars is minecraft:iron_bars. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Iron Bars?

Iron Bars has the historical numerical ID 101, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:iron_bars instead.

How do I give myself Iron Bars in Minecraft?

Open the chat window and run /give @p minecraft:iron_bars 1 to give the nearest player one Iron Bars. Replace @p with a player name to target someone else.

How many Iron Bars can stack in one slot?

Iron Bars stacks up to 64 per inventory slot.

How do you craft Iron Bars?

Iron Bars is crafted on a crafting table with 6 iron ingots, which yields 16 Iron Bars.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Decoration Blocks

Item ID: minecraft:torch
Item ID: minecraft:glowstone
Item ID: minecraft:lantern
Item ID: minecraft:ladder
Item ID: minecraft:flower_pot
Item ID: minecraft:painting