Wiki ArticleLocal entity data availableUpcomingIn developmentIn development Bedrock EditionPages with YouTube videos

Fence

A fence is a barrier block that cannot normally be jumped over, similar to a wall. Unlike a wall, a player (but not mobs) can see through the openings in a fence.

All types of fences can be obtained through crafting.

While fences appear to be a single block tall and have a hitbox height of one block, their collision box (for entities) is 1.5 blocks tall, meaning most mobs cannot jump over them without the Jump Boost status effect. They are transparent to light and have visual gaps in the model. Spiders can climb over a fence, just like any other vertical object. Camels can walk over fences.

Local game data

Fence

Bedrock 1.21.100
Typeitem
Stack1
Durability-
Sections6
Canonical IDitem:fence
Minecraft IDminecraft:fence
Wiki sourcecached

Complete article available

This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.

Local Data Properties

displayNameFence
namefence
id10084
stackSize1