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[edit]
Breaking[edit]
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[edit]
- 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[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. 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[edit]

Fences can be used to attach mobs with a lead.
Fuel[edit]
Wooden Fences can be used as fuel in furnaces, smelting 1.5 items per block.
Note Blocks[edit]
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[edit]
Wood[edit]
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Breaking the block | block.wood.break | subtitles.block.generic.break | 1.0 | 0.8 | 16 | |
None[sound 1] | Blocks | Falling on the block with fall damage | block.wood.fall | None[sound 1] | 0.5 | 0.75 | 16 | |
Block breaking | Blocks | Mining the block | block.wood.hit | subtitles.block.generic.hit | 0.25 | 0.5 | 16 | |
Block placed | Blocks | Placing the block | block.wood.place | subtitles.block.generic.place | 1.0 | 0.8 | 16 | |
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 | Breaking the block | dig.wood | 1.0 | 0.8 |
? | Blocks | Falling on the block with fall damage | fall.wood | 0.4 | 1.0 |
? | Blocks | Mining the block | 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 | Placing the block | use.wood | 1.0 | 0.8 |
Nether Brick[edit]
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Breaking the block | block.nether_bricks.break | subtitles.block.generic.break | 1.0 | ? | 16 | |
None[sound 1] | Blocks | Falling on the block with fall damage | block.nether_bricks.fall | None[sound 1] | 0.5 | ? | 16 | |
Block breaking | Blocks | Mining the block | block.nether_bricks.hit | subtitles.block.generic.hit | 0.25 | ? | 16 | |
Block placed | Blocks | Placing the block | block.nether_bricks.place | subtitles.block.generic.place | 1.0 | ? | 16 | |
Footsteps | Blocks | Walking on the block | block.nether_bricks.step | subtitles.block.generic.footsteps | 0.15 | ? | 16 |
Sound | Source | Description | Namespaced ID | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Breaking the block | dig.stone | 1.0 | 0.8 | |
Blocks | Falling on the block with fall damage | fall.stone | 0.4 | 1.0 | |
Blocks | Mining the block | hit.stone | 0.37 | 0.5 | |
? | Blocks | Jumping from the block | jump.stone | 0.12 | 1.0 |
? | Blocks | Falling on the block without fall damage | land.stone | 0.22 | 1.0 |
Blocks | Walking on the block | step.stone | 0.3 | 1.0 | |
Blocks | Placing the block | use.stone | 1.0 | 0.8 |
Data values[edit]
ID[edit]
Name | Namespaced ID | Block tags (JE) | Item tags (JE) | Translation key |
---|---|---|---|---|
Oak Fence | oak_fence | fences wooden_fences | fences wooden_fences | block.minecraft.oak_fence |
Spruce Fence | spruce_fence | fences wooden_fences | fences wooden_fences | block.minecraft.spruce_fence |
Birch Fence | birch_fence | fences wooden_fences | fences wooden_fences | block.minecraft.birch_fence |
Jungle Fence | jungle_fence | fences wooden_fences | fences wooden_fences | block.minecraft.jungle_fence |
Acacia Fence | acacia_fence | fences wooden_fences | fences wooden_fences | block.minecraft.acacia_fence |
Dark Oak Fence | dark_oak_fence | fences wooden_fences | fences wooden_fences | block.minecraft.dark_oak_fence |
Crimson Fence | crimson_fence | fences non_flammable_wood wooden_fences | fences non_flammable_wood wooden_fences | block.minecraft.crimson_fence |
Warped Fence | warped_fence | fences non_flammable_wood wooden_fences | fences non_flammable_wood wooden_fences | block.minecraft.warped_fence |
Nether Brick Fence | nether_brick_fence | fences | fences | block.minecraft.nether_brick_fence |
Name | Namespaced ID | Numeric ID | Translation key |
---|---|---|---|
Wood Fence | fence | 85 | 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 | tile.nether_brick_fence.name |
Crimson Fence | crimson_fence | 511 | tile.crimson_fence.name |
Warped Fence | warped_fence | 512 | tile.warped_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]
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:
Name | Default value | Allowed values | Description |
---|---|---|---|
wood_type | oak | acacia birch dark_oak jungle oak spruce | The type of wood this fence is made of. |
History[edit]
The specific instructions are: Item form when affected by MC-50220
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. | ||||||
Unknown | |||||||
? | Fences no longer require a solid block underneath to be placed. | ||||||
Java Edition | |||||||
1.0.0 | Beta 1.9 Prerelease | ![]() | |||||
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. | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
| |||||
![]() ![]() ![]() ![]() ![]() | |||||||
"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 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||
Nether brick fence recipe has now been changed to avoid conflict with the nether brick wall recipe.
| |||||||
18w47a | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ||||||
18w50a | ![]() | ||||||
19w03a | Wood fences can now be used to craft composters. | ||||||
? | Fences now no longer show a useless hand animation when right clicked. | ||||||
1.16 | 20w06a | ![]() ![]() | |||||
20w13a | Crimson and warped fences now connect to other types of fences.[4] | ||||||
Pocket Edition Alpha | |||||||
v0.2.0 | ![]() | ||||||
v0.9.0 | build 1 | Fences now naturally spawn in strongholds, mineshafts and villages. | |||||
Added smooth lighting to fences. | |||||||
v0.10.0 | build 1 | ![]() ![]() ![]() ![]() ![]() | |||||
"Fence" has now been renamed to "Oak Fence". | |||||||
v0.12.1 | build 1 | ![]() | |||||
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 | ![]() | ||||||
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 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||
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 | ![]() ![]() | |||||
beta 1.16.0.63 | ![]() | ||||||
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 | ![]() | ||
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 | ![]() | ||||||
TU25 | CU14 | 1.17 | ![]() ![]() ![]() | ||||
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 | ![]() ![]() | ||||
TU54 | CU44 | 1.52 | Patch 24 | 1.0.4 | Fences now connect to the solid back sides of stairs. | ||
1.90 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ||||||
New Nintendo 3DS Edition | |||||||
0.1.0 | ![]() ![]() ![]() ![]() ![]() |
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.
Three nether brick fences in the pre-release of beta 1.8. Some nether bricks can also be seen in the background.
First screenshot of new types of fences in Pocket Edition
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]
Pressure plates on fences, which used to create tables.
Naturally occurring fences in a village.