Fence

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

Yes

Luminant

0

Blast resistance

3 (Wood)
6 (Nether Brick)

Tools

Renewable

Overworld Wood: Yes
Nether Wood: No‌[JE only]
Nether Brick: No‌[JE only][until JE 1.16]
Yes‌[BE only][upcoming: JE 1.16]

Stackable

Yes (64)

Flammable

Overworld Wood: Yes (5)
Nether Wood: No
Nether Brick: No

Catches fire from lava?

Overworld Wood: Yes
Nether Wood: No
Nether Brick: No

Fences are wall blocks that cannot normally be jumped over.

Occurrence[edit]

Natural generation[edit]

Fence blocks naturally generate as mineshaft supports.
Oak

Oak fences generate as part of:

Spruce

Spruce fences generate as part of:

Birch

Birch fences generate as part of:

Jungle

Jungle fences generate as part of:

  • Desert village armorer houses as window.
  • Shipwrecks
Acacia

Acacia fences generate as part of:

  • Savanna villages, where they appear in tables, animal pen, butcher and shepherd house, stilt house buildings, and other building.
  • Shipwrecks
Dark oak

Dark oak fences generate as part of:

Nether brick

Nether brick fences generate as part of:

  • Nether fortresses, where they form window bars, balcony fencing, and gate-like structures.

Obtaining[edit]

Loot[edit]

From block loot[edit]

Wood fences are broken most quickly with an axe, but drop when broken with any tool. Nether brick fences require a pickaxe; mining it with anything else destroys it and drops nothing.

Recipes[edit]

From crafting[edit]

Name Ingredients Crafting recipe
Wood Fence Matching Planks +
Stick
Nether Brick Fence Nether Bricks +
Nether Brick

Usage[edit]

Breaking[edit]

Wood fences are broken most quickly with an axe, but drop when broken with any tool. Nether brick fences require a pickaxe; mining it with anything else destroys it and drops nothing.

Block Fences Nether Brick
Hardness 2 2
Tool
Breaking time[note 1]
Default 3 10
Wooden 1.5 1.5
Stone 0.75 0.75
Iron 0.5 0.5
Diamond 0.4 0.4
Netherite 0.35 0.35
Golden 0.25 0.25
  1. Times are for unenchanted tools in seconds. For more information, see Haste § Instant mining.

Block loot[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 connect to other wood fences, but do not connect to nether brick fences.

Leads[edit]

A horse tied to a tall fence post with a lead.

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.

Sounds[edit]

Wood[edit]

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDSubtitle keyVolumePitchAttenuation distance
Block brokenBlocksBreaking the blockblock.wood.break subtitles.block.generic.break 1.00.816
NoneBlocksFalling on the block with fall damageblock.wood.fall None 0.50.7516
Block breakingBlocksMining the blockblock.wood.hit subtitles.block.generic.hit 0.250.516
Block placedBlocksPlacing the blockblock.wood.place subtitles.block.generic.place 1.00.816
FootstepsBlocksWalking on the blockblock.wood.step subtitles.block.generic.footsteps 0.151.016

Bedrock Edition:

SoundDescriptionNamespaced IDVolumePitch
?Breaking the blockdig.wood ? 0.8
?Falling on the block with fall damagefall.wood ? ?
?Mining the blockhit.wood ? 0.5
?Jumping from the blockjump.wood ? ?
?Falling on the block without fall damageland.wood ? ?
?Walking on the blockstep.wood ? ?
?Placing the blockuse.wood ? 0.8

Nether Brick[edit]

Java Edition: ‌[upcoming: JE 1.16]

SoundSubtitleSourceDescriptionNamespaced IDSubtitle keyVolumePitchAttenuation distance
Block brokenBlocksBreaking the blockblock.nether_bricks.break subtitles.block.generic.break 0.8? 16
NoneBlocksFalling on the block with fall damageblock.nether_bricks.fall None 0.5? 16
Block breakingBlocksMining the blockblock.nether_bricks.hit subtitles.block.generic.hit 0.25? 16
Block placedBlocksPlacing the blockblock.nether_bricks.place subtitles.block.generic.place 0.8? 16
FootstepsBlocksWalking on the blockblock.nether_bricks.step subtitles.block.generic.footsteps 0.15? 16

Java Edition: [until JE 1.16]

SoundSubtitleSourceDescriptionNamespaced IDSubtitle keyVolumePitchAttenuation distance
Block brokenBlocksBreaking the blockblock.stone.break subtitles.block.generic.break 1.00.816
NoneBlocksFalling on the block with fall damageblock.stone.fall None 0.50.7516
Block breakingBlocksMining the blockblock.stone.hit subtitles.block.generic.hit 0.250.516
Block placedBlocksPlacing the blockblock.stone.place subtitles.block.generic.place 1.00.816
FootstepsBlocksWalking on the blockblock.stone.step subtitles.block.generic.footsteps 0.151.016

Bedrock Edition:

SoundDescriptionNamespaced IDVolumePitch
Breaking the blockdig.stone ? 0.8
Falling on the block with fall damagefall.stone ? ?
Mining the blockhit.stone ? 0.5
?Jumping from the blockjump.stone ? ?
?Falling on the block without fall damageland.stone ? ?
Walking on the blockstep.stone ? ?
Placing the blockuse.stone ? 0.8

Data values[edit]

ID[edit]

Java Edition:

NameNamespaced IDTranslation key
Oak Fenceoak_fence block.minecraft.oak_fence
Spruce Fencespruce_fence block.minecraft.spruce_fence
Birch Fencebirch_fence block.minecraft.birch_fence
Jungle Fencejungle_fence block.minecraft.jungle_fence
Acacia Fenceacacia_fence block.minecraft.acacia_fence
Dark Oak Fencedark_oak_fence block.minecraft.dark_oak_fence
Crimson Fencecrimson_fence block.minecraft.crimson_fence
Warped Fencewarped_fence block.minecraft.warped_fence

Bedrock Edition:

NameNamespaced IDNumeric IDTranslation key
Wood Fencefence 85?
Nether Brick Fencenether_brick_fence 113tile.nether_brick_fence.name

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.

Bedrock Edition:
Wooden fence:

Name Default value Allowed values Description
wood_typeoakacacia
birch
dark_oak
jungle
oak
spruce
The type of wood this fence is made of.

History[edit]

Java Edition Alpha
v1.0.17Oak Fence Revision 1.png Added fences.
Nothing can be placed on top of fences.
Fences 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.3Standing on top of fences causing players to get stuck and crashing the server in multiplayer have now been fixed.
1.6?Fences are now flammable and the visibility of them has now been improved.[more information needed]
1.7Any block, including torches and other fences, are now able to be placed on fences.
1.8Pre-releaseAdded villages and strongholds, where wooden fences naturally generate.
?Axes now break fences faster.
1.8.1Fences now generate in abandoned mineshafts.
Java Edition
1.0.0Beta 1.9 PrereleaseNether Brick Fence Revision 1.png Added nether fortresses, including nether brick fences.
Beta 1.9 Prerelease 2The collision boxes of fences have now been reduced.
Fences now connect to solid blocks.
Beta 1.9 Prerelease 5Fence selection area has now been changed to match its collision box.
Oak Fence Revision 2.png The texture of wooden fences has now been slightly changed.
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.
1.4.4?Mobs no longer try to jump over nether brick fences.[more information needed]
The texture of fences has now been fixed. There was a problem when attached single slab or stairs because the face not rendered when attached other blocks. [1]
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.
?Fences now display a hand animation when right clicked.
1.6.113w16aMobs can now be tied to fences.
1.814w32bFences now have a new crafting recipe using 4 plank blocks of the same type to produce 3 fences. Previously, it required six sticks in a 2×3 grid to produce 2.
Spruce Fence Revision 1.png Birch Fence Revision 1.png Jungle Fence Revision 1.png Acacia Fence Revision 1.png Dark Oak Fence Revision 1.png Fences now vary in appearance based on the planks used to make them.
"Fence" has now been renamed to "Oak Fence".
1.10pre1The correct fence wood types now generate in villages.
1.1116w39aOak, birch and dark oak wood fences now generate in woodland mansions.
1.1217w15aFences now connect to the solid back sides of stairs.
1.1317w47aThe oak fence ID has now 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.1418w43aOak Fence 18w43a.png Spruce Fence 18w43a.png Birch Fence 18w43a.png Jungle Fence 18w43a.png Acacia Fence 18w43a.png Dark Oak Fence 18w43a.png Nether Brick Fence Revision 2.png The textures of fences have now been changed.
Nether brick fence recipe has now been changed to avoid conflict with the nether brick wall recipe.
18w47aOak Fence.png Spruce Fence 18w47a.png Birch Fence Revision 2.png Jungle Fence Revision 2.png Acacia Fence Revision 2.png Dark Oak Fence Revision 2.png The textures of fences have now been changed.
18w50aSpruce Fence Revision 2.png The texture of spruce fences has now been changed.
19w03aWood fences can now be used to craft composters.
Upcoming Java Edition
1.1620w06aCrimson Fence.png Warped Fence.png Added crimson and warped fences.
Pocket Edition Alpha
0.2.0Oak Fence Revision 2.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 Revision 2.png Birch Fence Revision 2.png Jungle Fence Revision 2.png Acacia Fence Revision 2.png Dark Oak Fence Revision 2.png Added spruce, birch, jungle, acacia and dark oak variants.
"Fence" has now been renamed to "Oak Fence".
0.12.1build 1Nether Brick Fence Revision 1.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 of nether brick fences 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.0The recipe for nether brick fences has now been changed to avoid conflict with the nether brick wall recipe.
1.10.0beta 1.10.0.3Oak Fence.png Spruce Fence Revision 2.png Birch Fence Revision 2.png Jungle Fence Revision 2.png Acacia Fence Revision 2.png Dark Oak Fence Revision 2.png Nether Brick Fence Revision 2.png The textures of fences have now been changed.
Dark oak fence gates now generate in pillager outposts.
Due to architecture changes, oak fences no longer generate in desert villages.
Jungle fences now generate in desert village armorers.
Upcoming Bedrock Edition
1.16.0beta 1.16.0.51Crimson Fence.png Warped Fence.png Added crimson and warped fences.
Legacy Console Edition
TU1CU11.0Patch 11.0.1Oak Fence Revision 2.png Added fences.
TU3Fences are now stackable.
TU5Pressure plates are now placeable on fences.
TU6The fence collision box has now been decreased to size of fence block.
TU7Nether Brick Fence Revision 1.png Added nether brick fences.
TU25CU141.17Spruce Fence Revision 1.png Birch Fence Revision 1.png Jungle Fence Revision 1.png Added spruce, birch, and jungle variants.
The crafting recipe now uses 4 planks and 2 sticks instead of 6 sticks.
"Fence" has now been renamed to "Oak Fence".
TU27CU151.18Acacia Fence Revision 1.png Dark Oak Fence Revision 1.png Added acacia and dark oak fences to the creative inventory.
TU54CU441.52Patch 241.0.4Fences now connect to the solid back sides of stairs.
1.90Oak Fence.png Spruce Fence Revision 2.png Birch Fence Revision 2.png Jungle Fence Revision 2.png Acacia Fence Revision 2.png Dark Oak Fence Revision 2.png Nether Brick Fence Revision 2.png The textures of fences have now been changed.
New Nintendo 3DS Edition
0.1.0Oak Fence Revision 2.png Spruce Fence Revision 1.png Birch Fence Revision 1.png Jungle Fence Revision 1.png Nether Brick Fence Revision 1.png Added 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 cannot (except rabbits).
  • Getting hit by someone else (or shooting yourself with a Punch enchanted bow while sprinting forward) while in midair can cause the knockback to propel you over a fence you would not be able to jump over normally.
  • Placing a carpet on top of a fence does not reduce the fence or wall collision box down to one block, it just provides a platform one block high around the fence/wall to make it easier for climbing on the top of the fence.
  • Projectiles get stuck in the collision box of the fence and remain there if shot from upward.

Gallery[edit]

See also[edit]

References[edit]