See Data values
See Data values
Fences are wall blocks that cannot normally be jumped over.
Obtaining[edit | edit source]
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.
|Breaking time[note 1]|
- Times are for unenchanted tools in seconds.
Natural generation[edit | edit source]
Oak fences spawn naturally:
- As the uprights for the supports in abandoned mineshafts, where they are plentiful.
- In villages, where they appear in tables, lamp posts, and even enclosures on roofs or behind buildings.
- In library rooms of strongholds as railings and chandeliers. In the latter case, there are many torches attached to them.
- On the "patios" and in the front window of witch huts.
Oak, birch and dark oak wood fences generate naturally in woodland mansions.
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.
Crafting[edit | edit source]
|Wood Fence||Matching Wood Planks +
|Nether Brick Fence||Nether Brick|
Usage[edit | edit source]
Barrier[edit | edit source]
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.
Since their hitbox is smaller than a single block, it will allow a player/mob in the block to breathe even when submerged.
Leads[edit | edit source]
Fences can be used to attach mobs with a lead.
Fuel[edit | edit source]
Data values[edit | edit source]
ID[edit | edit source]
|Type||ID Name||PC Numeric ID||PE Numeric ID|
Block state[edit | edit source]
- See also: Block states
|When true, the fence extends from the center post in this direction.|
Video[edit | edit source]
History[edit | edit source]
|1.0.17||Added fences. Nothing could be placed on top of them.|
|1.3||Fixed standing on top of fences causing players to get stuck and crashing the server in SMP.|
|1.6||Fences made flammable and visibility improved|
|1.7||Any block, including torches and other fences, now able to be placed on fences.|
|1.8||Added villages, abandoned mineshafts, and strongholds, where wooden fences naturally generate.|
|Axes break fences faster.|
|1.0.0||Beta 1.9-pre1||Added nether fortresses, including nether brick fences.|
|Beta 1.9-pre2||Fence collision box reduced.|
|Fences now connect to solid blocks.|
|Beta 1.9-pre5||Fence selection area changed to match its collision box.|
|Beta 1.9-pre6||Fences no longer prevent farmland from decaying when placed below farmland.|
|1.4.2||12w36a||It 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.|
|Nether brick fence texture fixed.|
|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.1||13w16a||Mobs can be tied to fences.|
|1.8||14w32b||Fences have a new crafting recipe, previously requiring six sticks in a 2×3 grid. The recipe also now produces 3 fences instead of 2.|
|Fences now vary in appearance based on the planks used to make them. The recipe now requires 4 plank blocks of the same species, but fence blocks of different woods can connect.|
|1.11||16w39a||Oak, birch and dark oak wood fences now generate in woodland mansions.|
|1.12||17w15a||Now connect to the solid back sides of stairs.|
|Pocket Edition Alpha|
|0.9.0||build 1||Fences now naturally spawn in strongholds, abandoned mineshafts and villages.|
|Added smooth lighting to fences.|
|0.10.0||build 1||Added spruce, birch, jungle, acacia and dark oak variants.|
|Renamed fence to oak fence.|
|0.12.1||build 1||Added nether brick fences.|
|build 12||Torches can now be placed on top of nether brick fences.|
|0.14.2||The texture for the nether brick fence is changed.|
|1.1||build 1||Oak, birch and dark oak wood fences now generate in woodland mansions.|
|Legacy Console Edition|
|TU1||CU1||1.0||Patch 1||Patch 1||Added fences.|
|TU3||Fences are now stackable.|
|TU5||Pressure plates are placeable on fences.|
|TU6||Fence collision box decreased to size of fence block.|
|TU7||Added nether brick fences.|
|TU25||CU14||1.17||Added spruce, birch, and jungle variants.|
|The crafting recipe now uses 4 planks and 2 sticks instead of 6 sticks.|
|Renamed fence to oak fence.|
|TU27||CU15||1.18||Added acacia and dark oak fences to the creative inventory.|
|TU54||CU44||1.52||Patch 24||Patch 4||Now connect to the solid back sides of stairs.|
Issues[edit | edit source]
Issues relating to “Fence” are maintained on the issue tracker. Report issues there.
Trivia[edit | edit source]
- 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.
Gallery[edit | edit source]
Naturally occurring fences in a village.
See also[edit | edit source]