Fence

From Minecraft Wiki
(Redirected from Spruce 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.png
Nether Brick Fence Revision 2.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 (5)
Nether Brick: No

Catches fire from lava

Wood: Yes
Nether Brick: No

Drops

Itself

Data values

See § Data values

Namespaced ID

See § Data values

Tags

Fences are wall blocks that cannot normally be jumped over.

Occurrence[edit]

Natural generation[edit]

Oak fences spawn naturally:

Spruce fences 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.

Jungle fences generate in desert village armorer houses.‌[BE & JE only]

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.

Crafting[edit]

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

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][until JE 1.15]

Sounds[edit]

Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Block breaking block.stone.hit subtitles.block.generic.hit Blocks 0.5 0.25 16
Block broken block.stone.break subtitles.block.generic.break Blocks 0.8 1.0 16
Block placed block.stone.place subtitles.block.generic.place Blocks 0.8 1.0 16
Footsteps block.stone.step subtitles.block.generic.footsteps Blocks 1.0 0.15 16
No subtitle block.stone.fall (Plays when fallen on from a height) Blocks 0.75 0.5 16
Block breaking block.wood.hit subtitles.block.generic.hit Blocks 0.5 0.25 16
Block broken block.wood.break subtitles.block.generic.break Blocks 0.8 1.0 16
Block placed block.wood.place subtitles.block.generic.place Blocks 0.8 1.0 16
Footsteps block.wood.step subtitles.block.generic.footsteps Blocks 1.0 0.15 16
No subtitle block.wood.fall (Plays when fallen on from a height) Blocks 0.75 0.5 16

Data values[edit]

ID[edit]

Java Edition:

Block Namespaced ID Tags
Oak Fence oak_fence #fences, #wooden_fences
Spruce Fence spruce_fence #fences, #wooden_fences
Birch Fence birch_fence #fences, #wooden_fences
Jungle Fence jungle_fence #fences, #wooden_fences
Acacia Fence acacia_fence #fences, #wooden_fences
Dark Oak Fence dark_oak_fence #fences, #wooden_fences
Nether Brick Fence nether_brick_fence #fences

Bedrock Edition:

Block Namespaced 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.

History[edit]

Painting.png
This page would benefit from the addition of more images.
Please remove this notice once you've added suitable images to the article. The specific instructions are: 1.4.4 Nether brick fence texture fix ("Nether brick fence texture fixed").
Java Edition Alpha
v1.0.17Oak Fence Revision 1.png Added fences. Nothing can be placed on top of them.
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.
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 will 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 will 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]
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 now be tied to fences.
1.814w32bFences 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.1116w39aOak, birch and dark oak wood fences will now generate in woodland mansions.
1.1217w15aFences will 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.png Spruce Fence Revision 2.png Birch Fence Revision 2.png Jungle Fence Revision 2.png Nether Brick Fence Revision 2.png The textures of fences have now been updated.
Nether brick fence recipe has now been 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 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 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.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 Nether Brick Fence Revision 2.png The textures of fences have now been updated.
Dark oak fence gates now generate in pillager outposts.
Due to architecture changes, oak fences no longer generate in desert villages.
Jungle fences will now generate in desert village armorers.
Legacy Console Edition
TU1CU11.0Patch 1Patch 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 24Patch 4Fences will now connect to the solid back sides of stairs.
PlayStation 4 Edition
1.90Oak Fence.png Spruce Fence Revision 2.png Birch Fence Revision 2.png Jungle Fence Revision 2.png Nether Brick Fence Revision 2.png The textures of fences have now been updated.
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 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.
  • Contrary to popular belief, 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 will be stuck in the collision box of the fence and remain there if shot from upward.

Gallery[edit]

See also[edit]

References[edit]