Skip to main content

MINECRAFT · ITEM

Minecraft Oak Fence item

Oak Fence

  • Item

A wooden fence block that stacks to 64, used for barriers and enclosures on any Minecraft server.

Master the Oak Fence faster. Join our Discord and swap configs, IDs and commands with the community. As of .

About

Oak Fence is a wood-based block used to build barriers, pens, and decorative boundaries. It connects to adjacent fence blocks and fence gates to form continuous structures, and can be placed on solid ground or against other blocks.

Admins spawn it with /give @p minecraft:oak_fence 1 or by opening Creative inventory. It breaks instantly in Creative mode and with an axe in Survival, and does not require tools to mine. The block is fully stackable to 64 per inventory slot.

Frequently Asked Questions

Which game is the Oak Fence from?
The Oak Fence is from Minecraft. Every ID, code, and command on this page is specific to Minecraft and its current live build.
How current is the Oak Fence spawn info?
The Oak Fence entry was last verified on GameServersCodex on June 29, 2026. We track the live Minecraft build, so the IDs and commands here reflect the current patch.
What is the Oak Fence used for?
Oak Fence is a wood-based block used to build barriers, pens, and decorative boundaries. It connects to adjacent fence blocks and fence gates to form continuous structures, and can be placed on solid ground or against other blocks.
What is the Oak Fence?
A wooden fence block that stacks to 64, used for barriers and enclosures on any Minecraft server.
What items are related to the Oak Fence?
See the Related section at the bottom of this page for items commonly used alongside the Oak Fence, or open Browse Games to explore the full Minecraft database.
Can I get the Oak Fence without spawning it?
Yes. The Oak Fence can also be obtained through normal Minecraft progression. Admins usually spawn it for speed when testing, running events, or outfitting players, which is what the commands on this page are for.
What is the item id of the Oak Fence?
The item id of the Oak Fence is minecraft:oak_fence.
What is the numerical id of the Oak Fence?
The numerical id of the Oak Fence is 85.
What is the legacy item id of the Oak Fence?
The legacy item id of the Oak Fence is minecraft:fence.
What is the give command of the Oak Fence?
The give command of the Oak Fence is /give @p minecraft:oak_fence 1.
What is the stackable of the Oak Fence?
The stackable of the Oak Fence is Yes.
What is the max stack size of the Oak Fence?
The max stack size of the Oak Fence is 64.
What is the material of the Oak Fence?
The material of the Oak Fence is Wood.
What is the hardness of the Oak Fence?
The hardness of the Oak Fence is 2.0.
What is the diggable of the Oak Fence?
The diggable of the Oak Fence is Yes.