Fence

From Minecraft Wiki
Jump to navigation Jump to search
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.
All fences in 1.20

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. Fences come in two variants: wooden fences, which are crafted from planks and sticks, and nether brick fences, which are found in nether fortresses.

Variants[edit | edit source]

Obtaining[edit | edit source]

Crafting[edit | edit source]

All types of fences can be obtained through crafting.

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

Usage[edit | edit source]

Barrier[edit | edit source]

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.

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 or 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 | edit source]

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

Fences can be used to attach mobs with a lead.

Block states[edit | edit source]

See also: Block states

Java Edition:

Name Default value Allowed values 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 | edit source]

History[edit | edit source]

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

Java Edition
1.0.0Beta 1.9 PrereleaseThere are now two types of fences: wooden and nether brick fences.
1.0.0Beta 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 when attached single slab or stairs because the face not rendered when attached 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.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.
Pocket Edition Alpha
v0.12.1build 1There are now two types of fences: wooden and nether brick fences.
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 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.
New Nintendo 3DS Edition
0.1.0Added two types of fences: wooden and nether brick fences.

Issues[edit | edit source]

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

Trivia[edit | edit source]

  • 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 | edit source]

Screenshots[edit | edit source]

See also[edit | edit source]

References[edit | edit source]

External links[edit | edit source]

Navigation[edit | edit source]