This article is about the general overview of fences. For the fence-like barrier made out of stone types, see Wall. For the openable fence, see Fence Gate.

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 fences.

Variants Edit

Obtaining Edit

Crafting Edit

All types of fences can be obtained through crafting.

Name Ingredients [hide]Crafting recipe
Wooden Fence Matching Planks +
Stick
Nether Brick Fence Nether Bricks +
Nether Brick

Usage Edit

Barrier Edit

Wooden fences and nether brick fences connected by fence gates. Notice that they do not form a connection directly between the two types of fences (in the middle).

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.

A fence occupies the center space of blocks and automatically connects to any solid block that is placed next to it. Wooden fences connect to other wooden fences, but do not connect to nether brick fences. However, nether brick fences connect to wooden fence gates.[1] Mobs cannot pass between nether brick fences and wooden fences, although players can.

Additionally, if a carpet, trapdoor, moss carpet or pale moss carpet is placed above a fence, players are able to jump over the fence while other mobs are unable to, including mobs like zombies with similar attributes to players.

Leads Edit

A horse tied to a tall fence post with a lead.

Fences can be used to attach mobs with a lead.

Block states Edit

See also: Block states

Java Edition:

Name Default value Allowed values [hide]Description
eastfalsefalse
true
When true, the fence extends from the center post to the east.
northfalsefalse
true
When true, the fence extends from the center post to the north.
southfalsefalse
true
When true, the fence extends from the center post to the south.
waterloggedfalsefalse
true
Whether or not there's water in the same place as this fence.
westfalsefalse
true
When true, the fence extends from the center post to the west.

Video Edit

History Edit

This table list changes affecting both wooden and nether brick fences.

[hide]Java Edition Alpha
v1.0.17Added fences.
The player spawns with 64 fences.
v1.0.17_01The player no longer spawns with 64 fences.
v1.0.17_02Added a crafting recipe for fences[verify]. It requires 6 sticks.
[hide]Java Edition Beta
1.6Fences can now be placed below farmland to prevent it from decaying.
[hide]Java Edition
1.0.0Beta 1.9 PrereleaseAdded nether brick fences.
Beta 1.9 Prerelease 2The collision boxes of fences have been reduced.
Fences now connect to solid blocks.
Fences no longer require a solid block underneath to be placed.
Beta 1.9 Prerelease 5Fence selection area has been changed to match its collision box.
Beta 1.9 Prerelease 6Fences no longer prevent farmland from decaying when placed below farmland.
1.4.41.4.3Mobs no longer try to jump over nether brick fences.​[more information needed]
The texture of fences has been fixed. There was a problem with attached single slabs or stairs, as the connected face was not rendered when attached to other blocks.[2]
1.513w06aFence corners now have a smaller collision box, allowing players to fall through the gap in the middle of four fences placed in a square.
1.6.113w16aMobs can now be tied to fences.
1.6Fences now display a useless hand animation when right clicked.
1.814w32bAdded fences for spruce, birch, jungle, acacia and dark oak wood.
1.915w44bFences now show glitchy elongated textures when connecting to other fences.[3] These may be GPU dependent.
15w45aFences no longer show a bugged texture, however they appear different to how they did prior to 15w44b.
1.1116w39cFences no longer show a useless hand animation when right clicked.
1.1217w15aFences now connect to the solid back sides of stairs.
1.1317w47aIt is now possible to place a fence when the player is within a corner of three fences to form a ring of four, provided the space is sufficient.
18w10cWater can now be placed on the same block as fences.
1.1620w06aAdded crimson and warped fences.
1.1922w11aAdded mangrove fences.
22w14aDue to the addition of mangrove trees and mangrove swamps, mangrove fences are now obtainable and renewable.
1.19.3
Experiment
Update 1.20
22w42aAdded bamboo fences.
1.19.4
Experiment
Update 1.20
23w07aAdded cherry fences.
1.21.2
Experiment
Winter Drop
24w40aAdded pale oak fences.
[hide]Pocket Edition Alpha
v0.12.1build 1There are now two types of fences: wooden and nether brick fences.
[hide]Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU7CU11.001.001.00Patch 11.0.1There are now two types of fences: wooden and nether brick fences.
TU19CU71.121.121.12Moved both types of fences from the Miscellaneous tab, to the Building Blocks tab, in the Creative inventory.
TU54CU441.521.521.52Patch 241.0.4Fences now connect to the solid back sides of stairs.
[hide]New Nintendo 3DS Edition
0.1.0Added two types of fences: wooden and nether brick fences.

Issues Edit

Issues relating to "Fence" are maintained on the bug tracker. Issues should be reported and viewed there.

Java Edition

  • MC-196204 – Sneaking against a wall/fence while on top of another wall/fence causes the player to fall off of the wall/fence
  • MC-7895 – Large amount of fences impact performance
  • MC-12730 – TNT falls through fences and walls when ignited whilst on top of them
  • MC-96347 – Mobs leashed to fences drop their lead but don't remove the leash knot when entering a boat
  • MC-248092 – Untamed cats on lead despawn when attached to fence post
  • MC-253065 – Frog doesn't follow on lead on fence like other animals
  • MC-267281 – Fence multipart model system performance optimization
  • MC-267587 – Some mobs attached to fences via leads don't pathfind or have difficulty pathfinding to players that are tempting them
  • MC-268737 – Rolling pandas become stuck in fence corners
  • MC-276925 – Distance limit of using lead on a fence is directional
  • And 52 other open issues.

Bedrock Edition

  • MCPE-185953 – Baby horses can go through gates and fences
  • MCPE-59920 – Connected fence/wall/bar/pane hitbox is too large
  • MCPE-156223 – Non-solid blocks from addons still cause fence/walls to connect
  • MCPE-38029 – Cannot make Dirt Path blocks under Fence Gates
  • MCPE-79487 – Placing an armor stand on a fence or wall causes it to fall through
  • MCPE-87311 – Wall/Fence/Iron Bar/Glass Pane Not Attaching Correctly To Corner Stairs
  • MCPE-112982 – Wall with a glass pane/iron bar/fence on top does not update when the glass pane/iron bar/fence connects to a block
  • MCPE-123695 – Fence, Glass Pane, Wall, Iron Bars connect with honey block
  • MCPE-162574 – Mobs think you are on the other side when pressed against a corner fence
  • MCPE-163353 – Fences have inconsistent display models in inventory and in item frames
  • And 14 other open issues.

Trivia Edit

  • If a carpet is placed on top of a fence, a player can jump onto the carpet, while mobs cannot (except rabbits).
    • Placing a carpet on top of a fence does not reduce the fence or wall collision box down to one block, it just provides a platform one block high around the fence/wall to make it easier for climbing on the top of the fence.
  • Getting hit by someone else (or shooting themselves with a Punch enchanted bow while sprinting forward) while in midair can cause the knockback to propel the player over a fence they would not be able to jump over normally.
  • Projectiles get stuck in the collision box of the fence and remain there if shot from above.

Gallery Edit

Screenshots Edit

See also Edit

References Edit

External links Edit

Navigation Edit

Redirected from "Fences"