Fence

Fences are wooden wall blocks that cannot be jumped over.

Obtaining
Fences are broken most quickly with an axe.

Natural generation
Currently only oak fences spawn naturally:


 * Fences form the uprights for the supports in abandoned mine shafts, where they are plentiful.
 * They are also found in villages, where they appear in tables, lampposts, and even enclosures on roofs or behind buildings.
 * Fences occur in library rooms of strongholds as railings and chandeliers. In the latter case, there are many torches attached to them.
 * Fences appear on the "patios" and in the front window of witch huts.

Usage
While fences appear to be a single block tall, they are actually 1.5 blocks tall, meaning most mobs cannot jump over them. Because of this, they can be used as a barrier against mobs. They can also be used as a form of window, since the player can see through the gaps in the fence.

A fence occupies the center space of blocks and automatically connects to any solid block that is placed next to it. Since their hitbox is smaller than a single block, it will allow a mob in the block to breathe even when submerged.

Fences can be used to hitch mobs with a lead.

Fences can also be used to fuel a furnace, although the player would have been better off burning the wooden planks used to create them.

Video
Note: Crafting recipe in video is outdated, as it now requires wooden planks in addition to sticks.

Trivia

 * If a carpet is placed on top of a fence, a player can jump onto the carpet, while mobs cannot (and won't even try). This is safer than a fence gate that might be left open, but it also can't be opened to mobs short of breaking it.
 * If you try to use an item with a right-click function while looking at a fence, the item will not perform its function but will instead appear to be attempting to mine the fence. The fence will never break from this "mining".
 * Getting hit by someone else (or shooting yourself with a knockback enchanted bow while sprinting forwards) while in midair can cause the knockback to propel you over the fence (this works with other blocks that are 1.5 blocks tall.)