Fence
Renewable |
Yes |
---|---|
Stackable |
Yes (64) |
Tools | |
Blast resistance |
3 (Wood) |
Hardness |
2 |
Luminant |
No |
Transparent |
Yes |
Flammable |
Overworld Wood: Yes (5) |
Catches fire from lava |
Overworld Wood: Yes |
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.
Contents
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 |
- ↑ Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.
Natural generation
- Oak
Oak fences generate as part of:
- Regular Mineshafts, as the uprights for the supports, where they are plentiful.
- Library rooms of Strongholds as railings and chandeliers. In the latter case, there are many torches attached to them.
- Plains villages
- Woodland Mansions
- Shipwrecks
- Spruce
Spruce fences generate as part of:
- Swamp huts
- Taiga and snowy tundra villages, where they appear in tables, animal pen, butcher and shepherd houses, lantern lamp post, and other buildings.
- Shipwrecks
- 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:
- Mineshafts generated in badlands biomes, as the supports.
- Woodland mansions
- Shipwrecks
- Pillager outposts, as part of watchtower, tent, cage, and scarecrow.
- Nether brick
Nether brick fences generate as part of:
- Nether Fortresses, where they form window bars, balcony fencing, and portcullises.
Crafting
Name | Ingredients | Crafting recipe |
---|---|---|
Wood Fence | Matching Planks + Stick |
|
Nether Brick Fence | Nether Bricks + Nether Brick |
Usage
Barrier
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
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
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
File:Wood dig1.ogg | Block broken | Blocks | Once the block has broken | block.wood.break | subtitles.block.generic.break | 1.0 | 0.8 | 16 |
File:Wood hit1.ogg | None[sound 1] | Blocks | Falling on the block with fall damage | block.wood.fall | None[sound 1] | 0.5 | 0.75 | 16 |
File:Wood hit1.ogg | Block breaking | Blocks | While the block is in the process of being broken | block.wood.hit | subtitles.block.generic.hit | 0.25 | 0.5 | 16 |
File:Wood dig1.ogg | Block placed | Blocks | When the block is placed | block.wood.place | subtitles.block.generic.place | 1.0 | 0.8 | 16 |
File:Wood hit1.ogg | Footsteps | Blocks | Walking on the block | block.wood.step | subtitles.block.generic.footsteps | 0.15 | 1.0 | 16 |
Sound | Source | Description | Namespaced ID | Volume | Pitch |
---|---|---|---|---|---|
? | Blocks | Once the block has broken | dig.wood | 1.0 | 0.8 |
? | Blocks | Falling on the block with fall damage | fall.wood | 0.4 | 1.0 |
? | Blocks | While the block is in the process of being broken | hit.wood | 0.23 | 0.5 |
? | Blocks | Jumping from the block | jump.wood | 0.12 | 1.0 |
? | Blocks | Falling on the block without fall damage | land.wood | 0.18 | 1.0 |
? | Blocks | Walking on the block | step.wood | 0.3 | 1.0 |
? | Blocks | When the block is placed | use.wood | 1.0 | 0.8 |
Nether Brick
Template:Sound table/Block/Nether Bricks
Data values
ID
Name | Namespaced ID | Block tags (JE) | Item tags (JE) | Form | Translation key |
---|---|---|---|---|---|
Oak Fence | oak_fence | fences wooden_fences | fences wooden_fences | Block & Item | block.minecraft.oak_fence |
Spruce Fence | spruce_fence | fences wooden_fences | fences wooden_fences | Block & Item | block.minecraft.spruce_fence |
Birch Fence | birch_fence | fences wooden_fences | fences wooden_fences | Block & Item | block.minecraft.birch_fence |
Jungle Fence | jungle_fence | fences wooden_fences | fences wooden_fences | Block & Item | block.minecraft.jungle_fence |
Acacia Fence | acacia_fence | fences wooden_fences | fences wooden_fences | Block & Item | block.minecraft.acacia_fence |
Dark Oak Fence | dark_oak_fence | fences wooden_fences | fences wooden_fences | Block & Item | block.minecraft.dark_oak_fence |
Crimson Fence | crimson_fence | fences non_flammable_wood wooden_fences | fences non_flammable_wood wooden_fences | Block & Item | block.minecraft.crimson_fence |
Warped Fence | warped_fence | fences non_flammable_wood wooden_fences | fences non_flammable_wood wooden_fences | Block & Item | block.minecraft.warped_fence |
Nether Brick Fence | nether_brick_fence | fences | fences | Block & Item | block.minecraft.nether_brick_fence |
Name | Namespaced ID | Numeric ID | Form | Translation key |
---|---|---|---|---|
Wood Fence | fence | 85 | Block & Item | tile.fence.name tile.spruceFence.name tile.birchFence.name tile.jungleFence.name tile.acaciaFence.name tile.darkOakFence.name |
Nether Brick Fence | nether_brick_fence | 113 | Block & Item | tile.nether_brick_fence.name |
Crimson Fence | crimson_fence | 511 | Block & Item | tile.crimson_fence.name |
Warped Fence | warped_fence | 512 | Block & Item | tile.warped_fence.name |
Metadata
In Bedrock Edition, fences use the following data values:
Block states
Video
History
Java Edition Alpha | |||||
---|---|---|---|---|---|
v1.0.17 | 32px 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_01 | The player no longer starts with fences in their inventory.[needs testing] | ||||
Java Edition Beta | |||||
1.3 | Standing on top of fences causing players to get stuck and crashing the server in multiplayer have now been fixed. | ||||
1.6 | Test Build 3 | Fences are now flammable and the visibility of them has now been improved.[more information needed] | |||
1.7 | 32px 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.8 | Pre-release | Added villages and strongholds, where wooden fences naturally generate. | |||
Dropped fence items no longer appear larger than normal blocks. | |||||
1.8.1 | Fences now generate in mineshafts. | ||||
Unknown | |||||
? | Fences no longer require a solid block underneath to be placed. | ||||
Java Edition | |||||
1.0.0 | Beta 1.9 Prerelease | 32px 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 2 | The collision boxes of fences have now been reduced. | ||||
Fences now connect to solid blocks. | |||||
Beta 1.9 Prerelease 5 | Fence 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 6 | Fences no longer prevent farmland from decaying when placed below farmland. | ||||
Axes now break fences faster. | |||||
1.4.2 | 12w36a | It is now possible to place pressure plates on top of Nether brick fences. | |||
1.4.4 | 1.4.3 | 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.[2] | |||||
1.5 | 13w06a | 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 now be tied to fences. | |||
1.6 | Fences now display a useless hand animation when right clicked. | ||||
1.8 | 14w32b | Fences 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.9 | 15w44b | Fences now show glitchy elongated textures when connecting to other fences.[3] These may be GPU dependent. | |||
15w45a | Fences now no longer show a bugged texture, however they appear different to how they did prior to 15w44b. | ||||
1.10 | pre1 | The correct fence wood types now generate in villages. | |||
1.11 | 16w39a | Oak, birch and dark oak wood fences now generate in woodland mansions. | |||
1.12 | 17w15a | Fences now connect to the solid back sides of stairs. | |||
1.13 | 17w47a | The 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. | |||||
18w10c | Water can now be placed on the same block as fences. | ||||
1.14 | 18w43a | 32px 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 | |||||
18w47a | 32px 32px 32px 32px 32px 32px 32px The textures of fences have now been changed. | ||||
18w49a | Spruce fences now generate in the newly added snowy tundra villages. | ||||
18w50a | The updated desert villages now generate with jungle fences instead of oak fences. | ||||
32px The texture of spruce fences has now been changed. | |||||
19w03a | Wood fences can now be used to craft composters. | ||||
1.15 | 19w45a | Fences are no longer used to craft composters. | |||
? | Fences now no longer show a useless hand animation when right clicked. | ||||
1.16 | 20w06a | 32px 32px Added crimson and warped fences. | |||
20w13a | Crimson and warped fences now connect to other types of fences.[4] | ||||
Pocket Edition Alpha | |||||
v0.2.0 | 32px Added fences. | ||||
v0.3.0 | Survival players no longer start out with an infinite amount of fences in the inventory. | ||||
v0.9.0 | build 1 | Fences now naturally spawn in strongholds, mineshafts and villages. | |||
Added smooth lighting to fences. | |||||
v0.10.0 | build 1 | 32px 32px 32px 32px 32px Added spruce, birch, jungle, acacia and dark oak variants. | |||
"Fence" has now been renamed to "Oak Fence". | |||||
v0.12.1 | build 1 | 32px Added Nether brick fences. | |||
build 12 | Torches can now be placed on top of Nether brick fences. | ||||
v0.14.0 | build 1 | Spruce wood fences now generate in witch huts. | |||
v0.14.2 | 32px The texture of Nether brick fences is now brighter. | ||||
v0.15.0 | build 1 | Savanna 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.0 | alpha 1.1.0.0 | Oak, birch and dark oak wood fences now generate in woodland mansions. | |||
Bedrock Edition | |||||
1.4.0 | beta 1.2.14.2 | Wooden fences now generate in shipwrecks. | |||
1.9.0 | beta 1.9.0.0 | The recipe for Nether brick fences has now been changed to avoid conflict with the Nether brick wall recipe. | |||
1.10.0 | beta 1.10.0.3 | 32px 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.0 | beta 1.16.0.51 | 32px 32px Added crimson and warped fences. | |||
beta 1.16.0.63 | 32px The texture of Nether brick fences now matches Java Edition's again. | ||||
1.16.20 | beta 1.16.20.50 | Crimson and warped fences now uses regular plank sounds instead of their stem variant sounds. | |||
Legacy Console Edition | |||||
TU1 | CU1 | 1.0 | Patch 1 | 1.0.1 | 32px Added fences. |
TU3 | Fences are now stackable. | ||||
TU5 | Pressure plates are now placeable on fences. | ||||
TU6 | The fence collision box has now been decreased to size of fence block. | ||||
TU7 | 32px Added Nether brick fences. | ||||
TU25 | CU14 | 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". | |||||
TU27 | CU15 | 1.18 | 32px 32px Added acacia and dark oak fences to the creative inventory. When they were actually added to the game is unknown. | ||
TU54 | CU44 | 1.52 | Patch 24 | 1.0.4 | Fences 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.0 | 32px 32px 32px 32px 32px Added fences. |
- New Nether 2.jpg
First screenshot of Nether brick fences released by Jeb. The Nether brick fences are visible on the side of the nether fortress bridges.
- New Nether 2 bright.jpg
Brightly lit version.
- Sea base fences.png
Underwater buildings with walls composed of stacked fences, before waterlogging.
- Netherfence-pre.jpg
Three Nether brick fences in the pre-release of beta 1.8. Some Nether bricks can also be seen in the background.
- Pocket Edition v0.10.0 alpha build 1 Development fences.png
First screenshot of new types of fences in Pocket Edition
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
- Pressure plate.png
Pressure plates on fences, which used to create tables.
- Fences on Village House.png
Naturally occurring fences in a village.
- New Fences.png
Not all fence types.
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:栅栏
- Pages with broken file links
- Pages with overridden tntres
- Renewable resources
- Decoration block recipe
- Recipe using Planks
- Recipe using Crimson Planks
- Recipe using Warped Planks
- Recipe using Stick
- Recipe using Nether Bricks
- Recipe using Nether Brick
- Pages with videos
- Articles to be expanded
- Articles needing clarification requiring unarchived version
- Information needed
- Verify
- Unknown version history
- Unknown Java version history
- Upcoming
- Bedrock Edition upcoming tag
- Java Edition upcoming tag
- Pages using deprecated sprite names
- Pages with missing sprites
- Blocks
- Generated structure blocks
- Nether blocks
- Manufactured blocks
Articles needing clarification requiring unarchived version
Articles to be expanded
Bedrock Edition upcoming tag
Blocks
Decoration block recipe
Generated structure blocks
Information needed
Java Edition upcoming tag
Manufactured blocks
Nether blocks
Pages using deprecated sprite names
Pages with broken file links
Pages with missing sprites
Pages with overridden tntres
Pages with videos
Recipe using Crimson Planks
Recipe using Nether Brick
Recipe using Nether Bricks
Recipe using Planks
Recipe using Stick
Recipe using Warped Planks
Renewable resources
Unknown Java version history
Unknown version history
Upcoming
Verify