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

Spruce Fence ID

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

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

Spruce Fence Item Facts

Maximum stack64
Available inSurvival and Creative
Historical numerical ID188

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

Give Command for Spruce Fence

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

/give @p minecraft:spruce_fence 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 188 1

Build With Spruce Fence

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

About Spruce Fence in Minecraft

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

Spruce Fence Command Examples

  • Give 1 to nearest player: /give @p minecraft:spruce_fence 1
  • Give 1 to yourself: /give @s minecraft:spruce_fence 1
  • Give to a specific player: /give PlayerName minecraft:spruce_fence 1
  • Clear from inventory: /clear @p minecraft:spruce_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:ladder
Item ID: minecraft:glowstone
Item ID: minecraft:flower_pot
Item ID: minecraft:painting
Item ID: minecraft:white_banner