|Type of Block||Solid Block|
|Data Values||Hex: 55|
Fences have a 1.5 block tall hitbox, meaning they cannot be jumped over by a player or mob, unless the mob is a horse, has Jump Boost, or is standing on a Slab. A fence block becomes a wooden pole when there is no block directly next to it. If a block is placed next to it, they will connect to each other, extending the hitbox horizontally. A gate can be used to continue a fence line, while granting players access to the other side.
Fences come in a variety of colors, depending on the type of Wood Planks of which they are made.
Fences are found in NPC Villages, where they act as small enclosures around some of the houses, on roofs of some houses, pillars for wells, lamp-posts with a block of black Wool placed on it, or in houses with a wooden Pressure Plate placed on top of it, forming a table-like structure.
Fence blocks also appear in Abandoned Mineshafts, where they form part of the support beam structures.
A fence can also be created in a Crafting Table, by arranging the components in the manner detailed below.
|Wood Planks||Stick||Wood Planks|
|Wood Planks||Stick||Wood Planks|
A fence's primary use is enclosing an area. It functionally serves to keep mobs and players either inside or outside. This is because fences are 1.5 blocks tall to players and mobs (although they appear to be only 1 block tall). A large area can be made resistant to hostile mobs, by enclosing it with an unbroken fence line, and lighting the inside portion heavily. This keeps any monsters from Spawning within the fenced area, and keeps most hostile mobs that spawn outside, from coming in. A notable exception are spiders, which can climb over a fence. However, fences can be "spider-proofed" by placing a normal block on top of a two-block-tall fence. The spider will hit the bottom of the block when climbing the fence, and fall back down. Fences cannot always protect players from skeletons either; While a skeleton is unable to cross a fence, it can still shoot Arrows over it. This risk can be lessened, by making a fence two or more blocks tall. Torches can be placed on top of fences, creating a well-lit, safer perimeter.
Fences can also be used as railings, especially on the edges of balconies, or floating platforms. Since fences cannot be jumped over accidentally, this keeps players and mobs from falling off, while still allowing them to easily see past the fence. Fences can be used as an anchor for animals, if they are attached to a Lead.
Fences can be smelted as fuel in a furnace, smelting 1.5 blocks per fence; however, this is inefficient, as it costs five planks worth, and one plank also smelts 1.5 blocks.
- Standing on top of a fence in multiplayer used to count as an illegal move, causing players to get stuck. This action has also crashed the server in the past. This bug was fixed in the Beta 1.3 update.
- Fences became flammable as of Beta 1.6.
- As of the Beta 1.9 pre-release, fences will also connect to blocks they are placed next to.
- For some reason, fences will break faster with swords rather than axes.
- Placing a fence under a tilled dirt block will allow any player or mob to trample on that block and not have the plant break.
- If lava is beside or under a Fence, it will not burn away; however, if the Lava is above the Fence, the fence will be destroyed.
- In 1.6.4, if a player digs a 2 block deep hole and puts a fence in front of their head as well as a glowstone or redstone block, a player won't suffocate, and the fence won't connect to the glowstone or redstone block.
- If a carpet is put on a fence, a player can then jump over fences, but mobs can't.
- Fences and Nether Brick Fences do not connect.
- In 1.9, fences can be jumped with an elytra: by jumping forward (against anything, for that matter), and holding jump, which activates the elytra and commands a player to jump a second time, which will result in a jump greater than 1.5 blocks.
- Fences were added in a Seecret Friday update.