Pixel art illustration of a bamboo wooden fence with two posts and rails
Minecraft Java Item ID

Bamboo Fence ID

Bamboo fences are wooden barrier blocks crafted from bamboo planks and sticks. They keep mobs enclosed and connect into posts.

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

Bamboo Fence Item Facts

Maximum stack64
Available inSurvival and Creative
Historical numerical IDNot applicable

Historical numerical ID: This item was introduced after Java Edition 1.13, when numerical IDs were no longer used.

Give Command for Bamboo Fence

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

/give @p minecraft:bamboo_fence 1

Customize this command → View crafting recipe →

Give command syntax by version

Java 1.13+
/give @p minecraft:bamboo_fence 1
Namespaced ID (current format)
Bedrock Edition
/give @p minecraft:bamboo_fence 1
Same namespaced ID (namespace optional)

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 Bamboo Fence

Crafting Recipe

Bamboo PlanksStickBamboo Planks
Bamboo PlanksStickBamboo Planks

Crafting table recipe — makes 3 × Bamboo Fence.

Prefer commands? Jump back to the give command matrix above to get Bamboo Fence instantly.

Build With Bamboo Fence

minecraft:bamboo_fence 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.

Bamboo Fence Command Examples

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

Bamboo Fence FAQ

What is the item ID for Bamboo Fence?

The item ID for Bamboo Fence is minecraft:bamboo_fence. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

How do I give myself Bamboo Fence in Minecraft?

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

How many Bamboo Fence can stack in one slot?

Bamboo Fence stacks up to 64 per inventory slot.

How do you craft Bamboo Fence?

Bamboo Fence is crafted on a crafting table with 4 bamboo planks and 2 sticks, which yields 3 Bamboo Fence.

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
Item ID: minecraft:white_banner
Item ID: minecraft:glass_pane