|First Appearance||Alpha 1.0.17|
|Type of Block||Solid Block|
|Data Values||Hex: 55|
Fences are Wood blocks that are partially transparent, and they have a 1.5 block tall hitbox, meaning that 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. They were added in a Seecret Friday update. 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 (replaced with brown carpet) placed on top of it, forming a table-like structure. They are a wooden pole when there is no block on any side, but they connect to any adjacent blocks, extending the hitbox horizontally. A gate can be used to continue the look of a fence while allowing access to the other side to players.
A fence's primary use is enclosing an area. It functionally serves to keep mobs (usually animals) 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, and are only that tall to other blocks. A wide area can be made monster-resistant by enclosing it in fences and lighting the inside portion heavily. This keeps any monsters from spawning within the fence and keeps most monsters which spawned outside the fence from coming in. A notable exception is spiders, which can climb over it, although this can be avoided by putting a normal block on top of a two block tall fence, as it will hit the bottom of the block and fall down when climbing. In addition, while skeletons are unable to cross a fence, they can shoot over it. Torches can also be placed on top of fences, creating a safe perimeter. Chickens can go close enough to fences to stand entirely on the block the fence is on, allowing it to fall down and escape if said block is air.
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.
|Wood Planks||Stick||Wood Planks|
|Wood Planks||Stick||Wood Planks|
- 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.