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[A] | |||
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[BE only][needs testing in Bedrock Edition]
- 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.
- Ancient city
- 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. However, Nether brick fences connect to wooden fence gates.[1]Mobs cannot pass between Nether brick fences and wooden fences, although players can.
Leads[]
Fences can be used to attach mobs with a lead.
Fuel[]
Overworld 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[]
Normal wood[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Once the block has broken | block | subtitles | 1.0 | 0.8 | 16 | |
Block placed | Blocks | When the block is placed | block | subtitles | 1.0 | 0.8 | 16 | |
Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.5 | 16 | |
None[sound 1] | Entity-Dependent | Falling on the block with fall damage | block | None[sound 1] | 0.5 | 0.75 | 16 | |
Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Once the block has broken | dig | 1.0 | 0.8-1.0 | |
Blocks | When the block is placed | dig | 1.0 | 0.8 | |
Blocks | While the block is in the process of being broken | hit | 0.23 | 0.5 | |
Players | Falling on the block with fall damage | fall | 0.4 | 1.0 | |
Players | Walking on the block | step | 0.3 | 1.0 | |
Players | Jumping from the block | jump | 0.12 | 1.0 | |
Players | Falling on the block without fall damage | land | 0.18 | 1.0 |
Cherry wood[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Once the block has broken | block | subtitles | 1.0 | 0.8 | 16 | |
Block placed | Blocks | When the block is placed | block | subtitles | 1.0 | 0.8 | 16 | |
Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.5 | 16 | |
None[sound 1] | Entity-Dependent | Falling on the block with fall damage | block | None[sound 1] | 0.5 | 0.75 | 16 | |
Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Once the block has broken | break | 1.0 | 0.8-1.0 | |
Blocks | When the block is placed | place | 1.0 | 0.8 | |
Blocks | While the block is in the process of being broken | hit | 0.23 | 0.5 | |
Players | Falling on the block with fall damage | fall | 0.4 | 1.0 | |
Players | Walking on the block | step | 0.2 | 1.0 | |
Players | Jumping from the block | step | 0.12 | 1.0 | |
Players | Falling on the block without fall damage | step | 0.18 | 1.0 |
Bamboo wood[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Once the block has broken | block | subtitles | 0.9 | 0.8 | 16 | |
Block placed | Blocks | When the block is placed | block | subtitles | 0.9 | 0.8 | 16 | |
Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.225 | 0.5 | 16 | |
None[sound 1] | Entity-Dependent | Falling on the block with fall damage | block | None[sound 1] | 0.5 | 0.75 | 16 | |
Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Once the block has broken | break | 0.9 | 0.8-1.0 | |
Blocks | When the block is placed | place | 0.9 | 0.8 | |
Blocks | While the block is in the process of being broken | hit | 0.207 | 0.5 | |
Players | Falling on the block with fall damage | fall | 0.4 | 1.0 | |
Players | Walking on the block | step | 0.2 | 1.0 | |
Players | Jumping from the block | step | 0.12 | 1.0 | |
Players | Falling on the block without fall damage | step | 0.18 | 1.0 |
Nether wood[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Once the block has broken | block | subtitles | 1.0 | 0.72 | 16 | |
Block placed | Blocks | When the block is placed | block | subtitles | 1.0 | 0.72 | 16 | |
Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.45 | 16 | |
None[sound 1] | Entity-Dependent | Falling on the block with fall damage | block | None[sound 1] | 0.5 | 0.75 | 16 | |
Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Once the block has broken | break | 1.0 | 0.8-1.0 | |
Blocks | When the block is placed | place | 1.0 | 0.8 | |
Blocks | While the block is in the process of being broken | hit | 0.23 | 0.5 | |
Players | Falling on the block with fall damage | fall | 0.4 | 1.0 | |
Players | Walking on the block | step | 0.3 | 1.0 | |
Players | Jumping from the block | step | 0.12 | 1.0 | |
Players | Falling on the block without fall damage | step | 0.18 | 1.0 |
Nether brick[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Once the block has broken | block | subtitles | 0.8 | 0.8 | 16 | |
Block placed | Blocks | When the block is placed | block | subtitles | 0.8 | 0.8 | 16 | |
Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.5 | 16 | |
None[sound 1] | Entity-Dependent | Falling on the block with fall damage | block | None[sound 1] | 0.5 | 0.75 | 16 | |
Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Once the block has broken | dig | 1.0 | 0.8-1.0 | |
Blocks | When the block is placed | dig | 1.0 | 0.8-1.0 | |
Blocks | While the block is in the process of being broken | hit | 0.37 | 0.5 | |
Players | Falling on the block with fall damage | fall | 0.4 | 1.0 | |
Players | Walking on the block | step | 0.3 | 1.0 | |
Players | Jumping from the block | jump | 0.12 | 1.0 | |
Players | Falling on the block without fall damage | land | 0.22 | 1.0 |
Data values[]
ID[]
Name | Identifier | Form | Block tags | Item tags | Translation key |
---|---|---|---|---|---|
Oak Fence | oak_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.oak_fence |
Spruce Fence | spruce_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.spruce_fence |
Birch Fence | birch_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.birch_fence |
Jungle Fence | jungle_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.jungle_fence |
Acacia Fence | acacia_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.acacia_fence |
Dark Oak Fence | dark_oak_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.dark_oak_fence |
Mangrove Fence | mangrove_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.mangrove_fence |
Cherry Fence | cherry_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.cherry_fence |
Bamboo Fence | bamboo_fence | Block & Item | fences wooden_fences | fences wooden_fences | block.minecraft.bamboo_fence |
Crimson Fence | crimson_fence | Block & Item | fences non_flammable_wood wooden_fences | fences non_flammable_wood wooden_fences | block.minecraft.crimson_fence |
Warped Fence | warped_fence | Block & Item | fences non_flammable_wood wooden_fences | fences non_flammable_wood wooden_fences | block.minecraft.warped_fence |
Nether Brick Fence | nether_brick_fence | Block & Item | fences | fences | block.minecraft.nether_brick_fence |
Name | Identifier | Alias ID | Numeric ID | Form | Item ID[i 1] | Translation key |
---|---|---|---|---|---|---|
Oak Fence | oak_fence | fence / 0 | 85 | Block & Giveable Item[i 2] | Identical[i 3] | tile.fence.name |
Spruce Fence | spruce_fence | fence / 1 | -579 | Block & Giveable Item[i 2] | Identical[i 3] | tile.spruceFence.name |
Birch Fence | birch_fence | fence / 2 | -576 | Block & Giveable Item[i 2] | Identical[i 3] | tile.birchFence.name |
Jungle Fence | jungle_fence | fence / 3 | -578 | Block & Giveable Item[i 2] | Identical[i 3] | tile.jungleFence.name |
Acacia Fence | acacia_fence | fence / 4 | -575 | Block & Giveable Item[i 2] | Identical[i 3] | tile.acaciaFence.name |
Dark Oak Fence | dark_oak_fence | fence / 5 | -577 | Block & Giveable Item[i 2] | Identical[i 3] | tile.darkOakFence.name |
Mangrove Fence | mangrove_fence | None | -491 | Block & Giveable Item[i 2] | Identical[i 3] | tile.mangrove_fence.name |
Cherry Fence | cherry_fence | None | -532 | Block & Giveable Item[i 2] | Identical[i 3] | tile.cherry_fence.name |
Bamboo Fence | bamboo_fence | None | -515 | Block & Giveable Item[i 2] | Identical[i 3] | tile.bamboo_fence.name |
Crimson Fence | crimson_fence | None | -256 | Block & Giveable Item[i 2] | Identical[i 3] | tile.crimson_fence.name |
Warped Fence | warped_fence | None | -257 | Block & Giveable Item[i 2] | Identical[i 3] | tile.warped_fence.name |
Nether Brick Fence | nether_brick_fence | None | 113 | Block & Giveable Item[i 2] | Identical[i 3] | tile.nether_brick_fence.name |
Block states[]
Name | Default value | Allowed values | Description |
---|---|---|---|
east | false | false true | When true, the fence extends from the center post to the east. |
north | false | false true | When true, the fence extends from the center post to the north. |
south | false | false true | When true, the fence extends from the center post to the south. |
waterlogged | false | false true | Whether or not there's water in the same place as this fence. |
west | false | false true | When true, the fence extends from the center post to the west. |
Bedrock Edition:
Wooden fence (oak, spruce, birch, jungle, acacia, and dark oak):
Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
---|---|---|---|---|---|
wood_type (Deprecated) | 0x1 0x2 0x4 | oak | oak spruce birch jungle acacia dark_oak | 0 1 2 3 4 5 | The type of wood this fence is made of. |
Video[]
History[]
For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see /Asset history
Java Edition Infdev | |||||||
---|---|---|---|---|---|---|---|
? | A prototype fence model has been added to the game. There are three defined states: north-south, east-west and a cross. These models are currently unused. | ||||||
Java Edition Alpha | |||||||
v1.0.17 | 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 | 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. | ||||||
Java Edition | |||||||
1.0.0 | Beta 1.9 Prerelease | Added nether brick fences. | |||||
Beta 1.9 Prerelease 2 | The collision boxes of fences have now been reduced. | ||||||
Fences now connect to solid blocks. | |||||||
Fences no longer require a solid block underneath to be placed. | |||||||
Beta 1.9 Prerelease 5 | Fence selection area has now been changed to match its collision box. | ||||||
The texture of planks was slightly changed, resulting in fences also changing appearance. | |||||||
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.
| |||||
Fences now vary in appearance based on the planks used to make them. | |||||||
"Fence" has now been renamed to "Oak Fence". | |||||||
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. | |||||
16w39c | Fences now no longer show a useless hand animation when right clicked. | ||||||
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. | ||||||
18w11a | Fences now generate as part of the newly added shipwrecks. | ||||||
1.14 | 18w43a | 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.
| |||||||
18w47a | 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. | ||||||
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. | |||||
1.16 | 20w06a | Added crimson and warped fences. | |||||
October 16, 2021 | Mangrove fences are shown at Minecraft Live 2021. | ||||||
1.19 | 22w11a | Added mangrove fence. | |||||
22w13a | Dark oak fences now generate in ancient cities. | ||||||
22w14a | Due to the addition of the mangrove tree and mangrove swamp, mangrove fences are now obtainable and renewable. | ||||||
October 15, 2022 | Bamboo fences were shown on Minecraft Live 2022. | ||||||
1.20 (Experimental) | 22w42a | Added bamboo fences behind the Update 1.20 experimental datapack. | |||||
Added unique sounds for Nether and bamboo wood fences. | |||||||
23w07a | Added cherry fences behind the Update 1.20 experimental datapack. | ||||||
1.20 | 23w12a | Bamboo and cherry fences are now available without using the aforementioned datapack. | |||||
Pocket Edition Alpha | |||||||
v0.2.0 | 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 | Added spruce, birch, jungle, acacia and dark oak variants. | |||||
"Fence" has now been renamed to "Oak Fence". | |||||||
v0.12.1 | build 1 | 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 | 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 | 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 | Added crimson and warped fences. | |||||
beta 1.16.0.63 | 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. | |||||
1.19.0 | beta 1.19.0.20 | Added mangrove fence. | |||||
Next Major Update (Experimental) | beta 1.19.50.21 | Added bamboo fences behind the "Next Major Update" experimental toggle. | |||||
Added unique sounds for Nether and bamboo wood fences. | |||||||
beta 1.19.80.20 | Added cherry fences behind the "Next Major Update" experimental toggle. | ||||||
1.19.80 | beta 1.19.80.21 | The different block states for the fence ID have now been split up into their own IDs. | |||||
1.20.0 | beta 1.20.0.21 | Bamboo and cherry fences are now available without using the "Next Major Update" experimental toggle. | |||||
Legacy Console Edition | |||||||
TU1 | CU1 | 1.0 | Patch 1 | 1.0.1 | Added fences. | ||
TU3 | Fences are now stackable. | ||||||
TU5 | Pressure plates are now placeable on fences. | ||||||
Fences can be found in the Miscellaneous tab in the Creative inventory. | |||||||
TU6 | The fence collision box has now been decreased to size of fence block. | ||||||
TU7 | Added Nether brick fences. | ||||||
TU19 | CU7 | 1.12 | Moved fences from the the Miscellaneous tab, to the Building Blocks tab, in the Creative inventory. | ||||
TU25 | CU14 | 1.17 | 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 | Added acacia and dark oak fences to the Creative inventory. When they were actually added to the game is unknown. | ||||
TU31 | CU19 | 1.22 | Patch 3 | Acacia doors and dark oak fences are now obtainable in survival mode. | |||
TU54 | CU44 | 1.52 | Patch 24 | 1.0.4 | Fences now connect to the solid back sides of stairs. | ||
1.90 | The textures of fences have now been changed. | ||||||
New Nintendo 3DS Edition | |||||||
0.1.0 | Added fences. |
First screenshot of nether brick fences released by Jeb. The Nether brick fences are visible on the side of the nether fortress bridges.
Underwater buildings with walls composed of stacked fences, before waterlogging.
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).
- 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.
- Getting hit by someone else (or shooting themselves with a Punch enchanted bow while sprinting forward) while in midair can cause the knockback to propel the player over a fence they would not be able to jump over normally.
- Projectiles get stuck in the collision box of the fence and remain there if shot from above.
- Bamboo fences are designed to resemble actual dried bamboo stems, unlike other fences that simply use their respective planks' textures.[3]
Gallery[]
Screenshots[]
Pressure plates on fences, which used to create tables.
Naturally occurring fences in a village.
A fence block being pushed and pulled by a sticky piston.
Concept Art[]
See also[]
References[]
External links[]
- Block of the Month: Fence – Minecraft.net on December 1, 2022