Share

Share

Fence

From Minecraft Wiki
Jump to: navigation, search
Fence
Fence.pngSpruce Fence.pngBirch Fence.pngJungle Fence.pngDark Oak Fence.pngAcacia Fence.png
Nether Brick Fence.png
Oak FenceSpruce FenceBirch FenceJungle FenceDark Oak FenceAcacia FenceNether Brick Fence
Type

Solid Block

Physics

No

Transparency

Yes

Luminance

No

Blast resistance

15 (Wood)
30 (Nether Brick)

Hardness

2

Tools

This block can be broken with any tool, but an axe is the quickestGrid Wooden Pickaxe.png

Renewable

Wood: Yes
Nether Brick: No

Stackable

Yes (64)

Flammable

Yes

First appearances

See History

Drops

Itself

Data values

See Data values

Name

See Data values

Fences are wall blocks that cannot be jumped over.

Obtaining[edit]

Wood fences are broken most quickly with an axe, but will drop when broken with any tool. Nether brick fences require a pickaxe to get it back, mining it with anything else will drop nothing.

Block
Wood

Nether Brick
Hardness 2 2
Tool

Breaking time[note 1]
Hand 3 10
Wooden 1.5 1.5
Stone 0.75 0.75
Iron 0.5 0.5
Diamond 0.4 0.4
Golden 0.25 0.25
  1. Times are for unenchanted tools in seconds.

Natural generation[edit]

Oak fences spawn naturally:

  • As the uprights for the supports in abandoned mine shafts, where they are plentiful.
  • In villages, where they appear in tables, lamp posts, and even enclosures on roofs or behind buildings.
  • In library rooms of strongholds as railings and chandeliers. In the latter case, there are many torches attached to them.
  • On the "patios" and in the front window of witch huts.

Nether brick fences can be found naturally in nether fortresses where they form window bars and gate-like structures.

In Pocket Edition, dark oak fences spawn as the supports in above-ground mineshafts.

Crafting[edit]

Name Ingredients Crafting recipe

Any wood Fence

Any Wood Planks +
Stick




Grid layout Arrow (small).png Oak Fence3Spruce Fence3Birch Fence3Jungle Fence3Acacia Fence3Dark Oak Fence3
Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks Stick Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks
Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks Stick Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks

Nether Brick Fence

Nether Brick




Grid layout Arrow (small).png Nether Brick Fence6
Nether Brick Nether Brick Nether Brick
Nether Brick Nether Brick Nether Brick

In Console Edition

Name Ingredients Crafting recipe

Oak Fence

Stick




Grid layout Arrow (small).png Oak Fence2
Stick Stick Stick
Stick Stick Stick

Usage[edit]

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.

A fence occupies the center space of blocks and automatically connects to any solid block that is placed next to it. Fences will connect to fences of the same type, and wood fences will connect to other wood fences, although wood fences will not connect to nether brick fences.

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 attach mobs with a lead.

Nether brick fences do not exist in Pocket Edition.

Fuel[edit]

When used as a fuel in a furnace, a wood fence lasts 15 seconds (or 1.5 items).

Data values[edit]

ID[edit]

Type ID Name Numerical ID
Oak fence 85
Spruce spruce_fence 188
Birch birch_fence 189
Jungle jungle_fence 190
Dark Oak dark_oak_fence 191
Acacia acacia_fence 192
Nether Brick nether_brick_fence 113

Block state[edit]

See also: Block states
Name Value Description

 north

 south

 east

 west
true
false
When true, the fence extends from the center post in this direction.

Video[edit]

History[edit]

Alpha
1.0.17 Added fences. Nothing could be placed on top of them.
Beta
1.3 Fixed standing on top of fences causing players to get stuck and crashing the server in SMP.
1.6 Fences made flammable and visibility improved
1.7 Any block, including torches and other fences, now able to be placed on fences.
1.8 Added villages, abandoned mine shafts, and strongholds, where wooden fences naturally generate.
Axes break fences faster.
Official release
1.0.0 Beta 1.9-pre1 Added nether fortresses, including nether brick fences.
Beta 1.9-pre2 Fence collision box reduced.
Fences now connect to solid blocks.
Beta 1.9-pre5 Fence selection area changed to match its collision box.
Fences no longer prevent farmland from decaying when placed below farmland.
1.4.2 12w36a It is now possible to place pressure plates on top of nether brick fences.
1.4.4 Mobs no longer try to jump over nether brick fences.
Nether brick fence texture fixed.
1.5 Fence 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.1 13w16a Mobs can be tied to fences.
1.8 14w32b Fences have a new crafting recipe, previously requiring six sticks in a 2×3 grid. The recipe also now produces 3 fences instead of 2.
Fences now vary in appearance based on the planks used to make them. The recipe now requires 4 plank blocks of the same species, but fence blocks of different woods can connect.
Pocket Edition Alpha
0.2.0 Added fences.
0.9.0 build 1 Fences now naturally spawn in strongholds, abandoned mine shafts and villages.
Added smooth lighting to fences.
0.10.0 build 1 Added spruce, birch, jungle, acacia and dark oak variants.
Console Edition
TU1 Added fences.
TU3 Fences are now stackable.
TU5 Pressure plates are placeable on fences.
TU6 Fence collision box decreased to size of fence block.
TU7 Added nether brick fences.
Pi Edition
0.1.1 Added fences.

Issues[edit]

Issues relating to "Fence" are maintained on the issue tracker. Report issues there.

Trivia[edit]

  • If a carpet is placed on top of a fence, a player can jump onto the carpet, while mobs will not (except rabbits).
  • 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.

Gallery[edit]

See also[edit]