Fence

From Minecraft Wiki
(Redirected from Oak Fence)
Jump to: navigation, search
Fence
Oak Fence.pngSpruce Fence.pngBirch Fence.pngJungle Fence.pngAcacia Fence.pngDark Oak Fence.png
Nether Brick Fence.png
Transparent

Yes

Luminance

0

Blast resistance

15 (Wood)
30 (Nether Brick)

Tools

Renewable

Wood: Yes
Nether Brick: No‌[Java Edition only]

Stackable

Yes (64)

Flammable

Wood: Yes
Nether Brick: No

Drops

Itself

Data values

See § Data values

Name

See § Data values

Fences are wall blocks that cannot normally 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, mining it with anything else will drop nothing.

Block Fences 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. For more information, see Haste § Instant mining.

Natural generation[edit]

Oak fences spawn naturally:

Spruce fence spawn naturally:

Acacia fences generate naturally in savanna villages, where they appear in tables, lamp posts, and even enclosures on roofs or behind buildings.

Oak, birch and dark oak wood fences generate naturally in woodland mansions.

Oak, birch, spruce, jungle, acacia, and dark oak wood fences can generate in shipwrecks.

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

Dark oak fences spawn as the supports in above-ground mineshafts.

Dark oak fences generate in pillager outposts.‌[BE only][upcoming: JE 1.14]

Jungle fences generate in desert village armorer houses.‌[BE only][upcoming: JE 1.14]

Crafting[edit]

Name Ingredients Crafting recipe Description
Wood Fence Matching Planks +
Stick
Nether Brick Fence Nether Bricks [LCE & JE only][until JE 1.14]
Nether Brick Fence Nether Bricks +
Nether Brick
[BE & PS4 only][upcoming: JE 1.14]

Usage[edit]

Barrier[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. Wood fences will connect to other wood fences, but will not connect to nether brick fences.

Leads[edit]

Fences can be used to attach mobs with a lead.

Fuel[edit]

Wooden fences can be used as a fuel in furnaces, smelting 1.5 items per block.

Clicking target[edit]

Unlike with most blocks, pressing use on a fence will attempt to play an action. This is an intentionally programmed feature.[1]

Data values[edit]

ID[edit]

Java Edition:

Block Name ID
Oak Fence oak_fence
Spruce Fence spruce_fence
Birch Fence birch_fence
Jungle Fence jungle_fence
Acacia Fence acacia_fence
Dark Oak Fence dark_oak_fence
Nether Brick Fence nether_brick_fence

Bedrock Edition:

Block Name ID Numeric ID
Wooden Fence fence 85
Nether Brick Fence nether_brick_fence 113

Block data[edit]

In Bedrock Edition, fences use the following data values:

DV Description
0 Oak Fence
1 Spruce Fence
2 Birch Fence
3 Jungle Fence
4 Acacia Fence
5 Dark Oak Fence


Block states[edit]

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]

History[edit]

Painting.png
This page would benefit from the addition of an image.
Please remove this notice once you've added a suitable image to the article. The specific instructions are: Oak fences probably had a texture change in 1.0.0, inherited from planks
Java Edition Alpha
v1.0.17Oak Fence.png Added fences. Nothing could be placed on top of them. There was only 1 type at the time, which had the texture of what is now called oak fence.
They do not connect to solid blocks [more information needed].
v1.0.17_01The player no longer starts with fences in their inventory.[needs testing]
Java Edition Beta
1.3Fixed standing on top of fences causing players to get stuck and crashing the server in multiplayer.
1.6?Fences made flammable and visibility improved
1.7Any block, including torches and other fences, now able to be placed on fences.
1.8?Added villages, abandoned mineshafts, and strongholds, where wooden fences naturally generate.
Axes break fences faster.
Java Edition
1.0.0Beta 1.9 PrereleaseNether Brick Fence.png Added nether fortresses, including nether brick fences.
Beta 1.9 Prerelease 2Fence collision box reduced.
Fences now connect to solid blocks.
Beta 1.9 Prerelease 5Fence selection area changed to match its collision box.
Beta 1.9 Prerelease 6Fences no longer prevent farmland from decaying when placed below farmland.
1.4.212w36aIt is now possible to place pressure plates on top of nether brick fences. [more information needed]
1.4.4?Mobs no longer try to jump over nether brick fences. [more information needed]
Nether brick fence texture fixed. [more information needed]
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.113w16aMobs can be tied to fences.
1.814w32bFences have a new crafting recipe, previously requiring six sticks in a 2×3 grid. The recipe also now produces 3 fences instead of 2.
Spruce Fence.pngBirch Fence.pngJungle Fence.pngAcacia Fence.pngDark Oak Fence.png 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.
1.1116w39aOak, birch and dark oak wood fences now generate in woodland mansions.
1.1217w15aFences connect to the solid back sides of stairs.
1.1317w47aThe Oak fence ID has been changed from fence to oak_fence.
It 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.
Prior to The Flattening, these blocks' numeral IDs were 85, 113, 188, 189, 190, 191 and 192.
18w10cWater can now be placed on the same block as fences.
1.1418w43aNether brick fence recipe changed to avoid conflict with the nether brick wall recipe.
19w03aWood fences can now be used to craft composters.
Pocket Edition Alpha
0.2.0Oak Fence.png Added fences.
0.9.0build 1Fences now naturally spawn in strongholds, abandoned mineshafts and villages.
Added smooth lighting to fences.
0.10.0build 1Spruce Fence.pngBirch Fence.pngJungle Fence.pngAcacia Fence.pngDark Oak Fence.png Added spruce, birch, jungle, acacia and dark oak variants.
Renamed fence to oak fence.
0.12.1build 1Nether Brick Fence.png Added nether brick fences.
build 12Torches can now be placed on top of nether brick fences.
0.14.0build 1Spruce wood fences now generate in witch huts.
0.14.2Nether Brick Fence BE.png The texture for the nether brick fence is now brighter.
0.15.0build 1Savanna villages now generate with acacia wood fences rather than oak fences.
Spruce wood fences now generate in taiga, snowy tundra, and snowy taiga villages.
Pocket Edition
1.1.0alpha 1.1.0.0Oak, birch and dark oak wood fences now generate in woodland mansions.
Bedrock Edition
1.4.0beta 1.2.14.2Wooden fences now generate in shipwrecks.
1.9.0beta 1.9.0.0Changed the recipe for nether brick fences to avoid conflict with the nether brick wall recipe.
1.10.0beta 1.10.0.3Dark oak fence gates now generate in pillager outposts.
Due to architecture changes, oak fences no longer generate in desert villages.
Jungle fence generate in desert village armorers.
Legacy Console Edition
TU1CU11.0Patch 1Patch 1Oak Fence.png Added fences.
TU3Fences are now stackable.
TU5Pressure plates are placeable on fences.
TU6Fence collision box decreased to size of fence block.
TU7Added nether brick fences.
TU25CU141.17Spruce Fence.pngBirch Fence.pngJungle Fence.png Added spruce, birch, and jungle variants.
The crafting recipe now uses 4 planks and 2 sticks instead of 6 sticks.
Renamed fence to oak fence.
TU27CU151.18Acacia Fence.pngDark Oak Fence.png Added acacia and dark oak fences to the creative inventory.
TU54CU441.52Patch 24Patch 4Fences connect to the solid back sides of stairs.
New Nintendo 3DS Edition
0.1.0Added Fences.

Issues[edit]

Issues relating to "Fence" are maintained on the bug 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).
  • Getting hit by someone else (or shooting yourself with a Punch enchanted bow while sprinting forwards) while in midair can cause the knockback to propel you over a fence you would not be able to jump over normally.


Gallery[edit]

See also[edit]

References[edit]