Pixel art illustration of an oak fence gate with a slatted swinging panel
Minecraft Java Item ID

Oak Fence Gate ID

The oak fence gate is a hinged gate matching oak fences, opening for players and mobs when clicked or powered by redstone. It is crafted from oak planks and sticks.

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

Oak Fence Gate Item Facts

Maximum stack64
Available inSurvival and Creative
Historical numerical ID107

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

Give Command for Oak Fence Gate

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

/give @p minecraft:oak_fence_gate 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 107 1

Give command syntax by version

Java 1.13+
/give @p minecraft:oak_fence_gate 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 107 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 Oak Fence Gate

Crafting Recipe

StickOak PlanksStick
StickOak PlanksStick

Crafting table recipe — makes 1 × Oak Fence Gate.

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

Build With Oak Fence Gate

minecraft:oak_fence_gate 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 Oak Fence Gate in Minecraft

The oak fence gate is a hinged gate matching oak fences, opening for players and mobs when clicked or powered by redstone. It is crafted from oak planks and sticks.

Oak Fence Gate Command Examples

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

Oak Fence Gate FAQ

What is the item ID for Oak Fence Gate?

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

What is the numerical ID for Oak Fence Gate?

Oak Fence Gate has the historical numerical ID 107, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:oak_fence_gate instead.

How do I give myself Oak Fence Gate in Minecraft?

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

How many Oak Fence Gate can stack in one slot?

Oak Fence Gate stacks up to 64 per inventory slot.

How do you craft Oak Fence Gate?

Oak Fence Gate is crafted on a crafting table with 4 sticks and 2 oak planks, which yields 1 Oak Fence Gate.

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