Fence

From Box of Rocks WIKI
Jump to navigation Jump to search
This article is about the thing made out of wood or Nether brick. For the fence-like thing made out of stone types, see wall. For the openable fence, see Fence Gate.
Fence
Renewable

Yes

Stackable

Yes (64)

Tools

Blast resistance

3 (Wood)
6 (Nether Brick)

Hardness

2

Luminant

No

Transparent

Yes

Flammable

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

Catches fire from lava

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

A fence is a barrier block that cannot normally be jumped over, similar to a wall. Unlike a wall, a player (but not mobs) can see through the openings in a fence.

Obtaining

Breaking

Wooden 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[FN 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 as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.

Natural generation

File:Abandoned mineshaft with fences.png
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 the 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 buildings.
  • Shipwrecks
Dark oak

Dark oak fences generate as part of:

Nether brick

Nether brick fences generate as part of:

Crafting

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

Usage

Barrier

File:FenceConnectivity.png
Fences and Nether brick fences connected by fence gates. Notice that they do not form a connection directly between the two types of fences (in the middle).

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. Spiders can climb over a fence, just like any other vertical object.

A fence occupies the center space of blocks and automatically connects to any solid block that is placed next to it. Wooden fences connect to other wooden fences, but do not connect to Nether brick fences. Interestingly, however, Nether brick fences connect to wooden fence gates.[1]

Leads

File:HorseLeashedOnAFence.png
A horse tied to a tall fence post with a lead.

Fences can be used to attach mobs with a lead.

Fuel

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

Note Blocks

Wooden fences can be placed under note blocks to produce "bass" sound.

Nether brick fences can be placed under note blocks to produce "bass drum" sound.

Sounds

Wood

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
File:Wood dig1.oggFile:Wood dig2.oggFile:Wood dig3.oggFile:Wood dig4.oggBlock brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggNone[sound 1]BlocksFalling on the block with fall damageblock.wood.fallNone[sound 1]0.50.7516
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggBlock breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
File:Wood dig1.oggFile:Wood dig2.oggFile:Wood dig3.oggFile:Wood dig4.oggBlock placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggFootstepsBlocksWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016

Bedrock Edition:

SoundSourceDescriptionNamespaced IDVolumePitch
?BlocksOnce the block has brokendig.wood1.00.8
?BlocksFalling on the block with fall damagefall.wood0.41.0
?BlocksWhile the block is in the process of being brokenhit.wood0.230.5
?BlocksJumping from the blockjump.wood0.121.0
?BlocksFalling on the block without fall damageland.wood0.181.0
?BlocksWalking on the blockstep.wood0.31.0
?BlocksWhen the block is placeduse.wood1.00.8

Nether Brick

Template:Sound table/Block/Nether Bricks

Data values

ID

Java Edition:

NameNamespaced IDBlock tags (JE)Item tags (JE)FormTranslation key
Oak Fenceoak_fencefences
wooden_fences
fences
wooden_fences
Block & Itemblock.minecraft.oak_fence
Spruce Fencespruce_fencefences
wooden_fences
fences
wooden_fences
Block & Itemblock.minecraft.spruce_fence
Birch Fencebirch_fencefences
wooden_fences
fences
wooden_fences
Block & Itemblock.minecraft.birch_fence
Jungle Fencejungle_fencefences
wooden_fences
fences
wooden_fences
Block & Itemblock.minecraft.jungle_fence
Acacia Fenceacacia_fencefences
wooden_fences
fences
wooden_fences
Block & Itemblock.minecraft.acacia_fence
Dark Oak Fencedark_oak_fencefences
wooden_fences
fences
wooden_fences
Block & Itemblock.minecraft.dark_oak_fence
Crimson Fencecrimson_fencefences
non_flammable_wood
wooden_fences
fences
non_flammable_wood
wooden_fences
Block & Itemblock.minecraft.crimson_fence
Warped Fencewarped_fencefences
non_flammable_wood
wooden_fences
fences
non_flammable_wood
wooden_fences
Block & Itemblock.minecraft.warped_fence
Nether Brick Fencenether_brick_fencefencesfencesBlock & Itemblock.minecraft.nether_brick_fence

Bedrock Edition:

NameNamespaced IDNumeric ID FormTranslation key
Wood Fencefence85Block & Itemtile.fence.name
tile.spruceFence.name
tile.birchFence.name
tile.jungleFence.name
tile.acaciaFence.name
tile.darkOakFence.name
Nether Brick Fencenether_brick_fence113Block & Itemtile.nether_brick_fence.name
Crimson Fencecrimson_fence511Block & Itemtile.crimson_fence.name
Warped Fencewarped_fence512Block & Itemtile.warped_fence.name

Metadata

See also: Data values

In Bedrock Edition, fences use the following data values:

Template:/DV

Block states

See also: Block states

Template:/BS

Video

History

This section is missing information about when warped fences were first shown on twitter. 
Please expand the section to include this information. Further details may exist on the talk page.

Template:More images

Java Edition Alpha
v1.0.1732px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px
Added fences.
Nothing can be placed on top of fences.
Fences do not connect to solid blocks.
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.6Test Build 3Fences are now flammable and the visibility of them has now been improved.[more information needed]
1.732px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px
The application of textures to the fence model has been changed slightly.
Any block,[verify] including torches and other fences, are now able to be placed on fences.
1.8Pre-releaseAdded villages and strongholds, where wooden fences naturally generate.
Dropped fence items no longer appear larger than normal blocks.
1.8.1Fences now generate in mineshafts.
Unknown
?Fences no longer require a solid block underneath to be placed.
Java Edition
1.0.0Beta 1.9 Prerelease32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 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.
32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px 32px
The texture of planks was slightly changed, resulting in fences also changing appearence.
Beta 1.9 Prerelease 6Fences no longer prevent farmland from decaying when placed below farmland.
Axes now break fences faster.
1.4.212w36aIt is now possible to place pressure plates on top of Nether brick fences.
1.4.41.4.3Mobs 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.[2]
1.513w06aFence 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 now be tied to fences.
1.6Fences now display a useless hand animation when right clicked.
1.814w32bFences now have a new crafting recipe using 4 planks of the same type to produce 3 fences. Previously, it required six sticks in a 2×3 grid to produce 2.
 Template:Pipe escape
32px 32px 32px 32px 32px Fences now vary in appearance based on the planks used to make them.
"Fence" has now been renamed to "Oak Fence".
1.915w44bFences now show glitchy elongated textures when connecting to other fences.[3] These may be GPU dependent.
15w45aFences now no longer show a bugged texture, however they appear different to how they did prior to 15w44b.
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.1418w43a32px 32px 32px 32px 32px 32px 32px 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. Template:Pipe escape
18w47a32px 32px 32px 32px 32px 32px 32px The textures of fences have now been changed.
18w49aSpruce fences now generate in the newly added snowy tundra villages.
18w50aThe updated desert villages now generate with jungle fences instead of oak fences.
32px The texture of spruce fences has now been changed.
19w03aWood fences can now be used to craft composters.
1.1519w45aFences are no longer used to craft composters.
?Fences now no longer show a useless hand animation when right clicked.
1.1620w06a32px 32px Added crimson and warped fences.
20w13aCrimson and warped fences now connect to other types of fences.[4]
Pocket Edition Alpha
v0.2.032px Added fences.
v0.3.0Survival players no longer start out with an infinite amount of fences in the inventory.
v0.9.0build 1Fences now naturally spawn in strongholds, mineshafts and villages.
Added smooth lighting to fences.
v0.10.0build 132px 32px 32px 32px 32px Added spruce, birch, jungle, acacia and dark oak variants.
"Fence" has now been renamed to "Oak Fence".
v0.12.1build 132px Added Nether brick fences.
build 12Torches can now be placed on top of Nether brick fences.
v0.14.0build 1Spruce wood fences now generate in witch huts.
v0.14.232px The texture of Nether brick fences is now brighter.
v0.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.332px 32px 32px 32px 32px 32px 32px 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.
1.16.0beta 1.16.0.5132px 32px Added crimson and warped fences.
beta 1.16.0.6332px The texture of Nether brick fences now matches Java Edition's again.
1.16.20beta 1.16.20.50Crimson and warped fences now uses regular plank sounds instead of their stem variant sounds.
Legacy Console Edition
TU1CU1 1.0 Patch 11.0.132px 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.
TU732px Added Nether brick fences.
TU25CU14 1.17 32px 32px 32px 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".
TU27CU15 1.18 32px 32px Added acacia and dark oak fences to the creative inventory. When they were actually added to the game is unknown.
TU54CU44 1.52 Patch 241.0.4Fences now connect to the solid back sides of stairs.
1.90 32px 32px 32px 32px 32px 32px 32px The textures of fences have now been changed.
New Nintendo 3DS Edition
0.1.032px 32px 32px 32px 32px Added fences.

Issues

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

Trivia

  • 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

See also

References

cs:Plot de:Zaun es:Valla fr:Barrière hu:Kerítés it:Staccionata ja:フェンス ko:울타리 nl:Hek pl:Płot pt:Cerca ru:Забор th:รั้ว uk:Паркан zh:栅栏