A fence gate is a block that shares the functions of both the door and the fence.
Obtaining[]
Breaking[]
A fence gate can be broken with anything, but an axe is fastest.
Block | Fence Gates | |
---|---|---|
Hardness | 2 | |
Tool | ||
Breaking time[A] | ||
Default | 3 | |
Wooden | 1.5 | |
Stone | 0.75 | |
Iron | 0.5 | |
Diamond | 0.4 | |
Netherite | 0.35 | |
Golden | 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 fence gates generate as part of:
- Plains villages
- Spruce
Spruce fence gates generate as part of:
- Jungle
Jungle fence gates generate as part of:
- Desert villages
- Acacia
Acacia fence gates generate as part of:
- Savanna villages
- Dark oak
Dark oak fence gates generate as part of:
Crafting[]
Ingredients | Crafting recipe |
---|---|
Matching Planks + Stick |
Usage[]
Placing[]
A fence gate can be used as a switchable barrier that can be opened and closed by hand or by redstone power.
To place a fence gate, use the Place Block control while pointing at a block facing the space the fence gate should occupy. When placed, a fence gate automatically faces toward the player who placed it, regardless of any other fences around it.
A fence gate can be placed whether there is a solid block beneath it or not.
Fences, nether brick fences and walls connect to fence gates, but glass panes and iron bars do not. A fence gate floats in mid-air when placed with no connection to anything else.
Barrier[]
A fence gate can be used as a switchable barrier.
To open or close a fence gate, use the Use Item control. When a fence gate opens or closes, it immediately changes its orientation without affecting anything in the space it "passes through"—moving fence gates don't push entities the way that pistons do. When opened by hand, a fence gate always opens away from the player.
Although a fence gate appears to be only one block tall, a closed fence gate is a barrier one and a half blocks high. Most mobs cannot jump over a fence gate, and entities on top of the fence gate stand half a block above it.
An open fence gate is completely non-solid, similar to a sign or a torch.[1] Multiple open fence gates next to each other can be passed through as if the entire space is open.
Hostile mobs recognize closed fence gates as a block and cannot detect players through it unless they were already detected.
The sound of opening and closing of a fence gate can be heard up to 16 blocks away, like most mob sounds.
Redstone component[]
A fence gate can be controlled with redstone power.
A fence gate is a redstone mechanism and can be activated by:
- an adjacent active power component, including above or below: for example, a redstone torch, a block of redstone, a daylight sensor, etc.
- an adjacent powered block (for example, a block with an active redstone torch under it), including above or below
- a powered redstone comparator or redstone repeater facing the fence gate
- powered redstone dust configured to point at the fence gate or a directionless "dot" next to it; a fence gate is not activated by adjacent powered redstone dust that is configured to point in another direction.
When activated, a fence gate opens immediately. When deactivated, a fence gate closes immediately.
An activated fence gate can still be closed by a player, and won't re-open until it receives a new activation signal (if a fence gate has been closed "by hand", it still needs to be deactivated and then reactivated to open by redstone).
Fence gates can be moved by pistons. When an activated fence gate is moved by a piston to a position where it shouldn't be activated, it doesn't change its state until it receives a redstone update.
Fuel[]
Overworld wooden fence gates can be used as a fuel in furnaces, smelting 1.5 items per fence gate.
Note Blocks[]
Fence gates can be placed under note blocks to produce "bass" sounds.
Helmet[]
While a fence gate cannot be equipped in the head slot in Survival mode, equipping it using commands causes it to appear as eyeglasses.
Sounds[]
Generic[]
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 |
Unique[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Fence Gate creaks | Blocks | When a normal wood gate opens | block | subtitles | 0.9 | 0.9-1.0 | 16 | |
Fence Gate creaks | Blocks | When a normal wood fence gate closes | block | subtitles | 0.9 | 0.9-1.0 | 16 | |
Fence Gate creaks | Blocks | When a cherry wood fence gate closes | block | subtitles | 0.9 | 0.99-1.1 | 16 | |
Fence Gate creaks | Blocks | When a cherry wood fence gate closes | block | subtitles | 0.9 | 0.99-1.1 | 16 | |
Fence Gate creaks | Blocks | When a bamboo wood fence gate opens | block | subtitles | 0.9 | 0.99-1.1 | 16 | |
Fence Gate creaks | Blocks | When a bamboo wood fence gate closes | block | subtitles | 0.9 | 0.99-1.1 | 16 | |
Fence Gate creaks | Blocks | When a Nether wood fence gate opens | block | subtitles | 1.0 | 0.9-1.0 | 16 | |
Fence Gate creaks | Blocks | When a Nether wood fence gate closes | block | subtitles | 1.0 | 0.9-1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | When a normal wood fence gate opens | open | 0.9 | 0.9-1.0 | |
Blocks | When a normal wood fence gate closes | close | 0.9 | 0.9-1.0 | |
Blocks | When a cherry wood fence gate opens [sound 1] | open | 1.0 | 0.9-1.0 | |
Blocks | When a cherry wood fence gate closes [sound 1] | close | 1.0 | 0.9-1.0 | |
Blocks | When a bamboo wood fence gate opens | open | 0.9 | 0.99-1.1 | |
Blocks | When a bamboo wood fence gate closes | close | 0.9 | 0.99-1.1 | |
Blocks | When a Nether wood fence gate opens | open | 1.0 | 0.9-1.0 | |
Blocks | When a Nether wood fence gate closes | close | 1.0 | 0.9-1.0 |
- ↑ a b Due to MCPE-168021, this sound plays less often than it should
Data values[]
ID[]
Name | Identifier | Form | Block tags | Item tags | Translation key |
---|---|---|---|---|---|
Oak Fence Gate | oak_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.oak_fence_gate |
Spruce Fence Gate | spruce_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.spruce_fence_gate |
Birch Fence Gate | birch_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.birch_fence_gate |
Jungle Fence Gate | jungle_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.jungle_fence_gate |
Acacia Fence Gate | acacia_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.acacia_fence_gate |
Dark Oak Fence Gate | dark_oak_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.dark_oak_fence_gate |
Mangrove Fence Gate | mangrove_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.mangrove_fence_gate |
Cherry Fence Gate | cherry_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.cherry_fence_gate |
Bamboo Fence Gate | bamboo_fence_gate | Block & Item | fence_gates unstable_bottom_center | None | block.minecraft.bamboo_fence_gate |
Crimson Fence Gate | crimson_fence_gate | Block & Item | fence_gates non_flammable_wood unstable_bottom_center | non_flammable_wood | block.minecraft.crimson_fence_gate |
Warped Fence Gate | warped_fence_gate | Block & Item | fence_gates non_flammable_wood unstable_bottom_center | non_flammable_wood | block.minecraft.warped_fence_gate |
Name | Identifier | Numeric ID | Form | Item ID[i 1] | Translation key |
---|---|---|---|---|---|
Oak Fence Gate | fence_gate | 107 | Block & Giveable Item[i 2] | Identical[i 3] | tile.fence_gate.name |
Spruce Fence Gate | spruce_fence_gate | 183 | Block & Giveable Item[i 2] | Identical[i 3] | tile.spruce_fence_gate.name |
Birch Fence Gate | birch_fence_gate | 184 | Block & Giveable Item[i 2] | Identical[i 3] | tile.birch_fence_gate.name |
Jungle Fence Gate | jungle_fence_gate | 185 | Block & Giveable Item[i 2] | Identical[i 3] | tile.jungle_fence_gate.name |
Acacia Fence Gate | acacia_fence_gate | 187 | Block & Giveable Item[i 2] | Identical[i 3] | tile.acacia_fence_gate.name |
Dark Oak Fence Gate | dark_oak_fence_gate | 186 | Block & Giveable Item[i 2] | Identical[i 3] | tile.dark_oak_fence_gate.name |
Mangrove Fence Gate | mangrove_fence_gate | -492 | Block & Giveable Item[i 2] | Identical[i 3] | tile.mangrove_fence_gate.name |
Cherry Fence Gate | cherry_fence_gate | -533 | Block & Giveable Item[i 2] | Identical[i 3] | tile.cherry_fence_gate.name |
Bamboo Fence Gate | bamboo_fence_gate | -516 | Block & Giveable Item[i 2] | Identical[i 3] | tile.bamboo_fence_gate.name |
Crimson Fence Gate | crimson_fence_gate | 513 | Block & Giveable Item[i 2] | Identical[i 3] | tile.crimson_fence_gate.name |
Warped Fence Gate | warped_fence_gate | 514 | Block & Giveable Item[i 2] | Identical[i 3] | tile.warped_fence_gate.name |
Block states[]
Name | Default value | Allowed values | Description |
---|---|---|---|
facing | north | east north south west | For an open gate, the direction the gates swing open. For a closed gate, the direction the player was facing when the gate was placed, or the last direction the gates have swung. |
in_wall | false | false true | If true, the gate is lowered by three pixels, to accommodate attaching more cleanly with walls. |
open | false | false true | If true, the gate is opened. |
powered | false | false true | If true, the gate is receiving redstone power. |
Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
---|---|---|---|---|---|
direction | 0x1 0x2 | 0 | 0 1 2 3 | 0 1 2 3 | The direction the gate is facing
For a closed gate, it's the direction the player was facing when the gate was placed, or the last direction the gates have swung. |
in_wall_bit | 0x8 | false | false true | 0 1 | If the gate is lowered by three pixels, to accommodate attaching more cleanly with walls. |
open_bit | 0x4 | false | false true | 0 1 | If the gate is opened. |
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 Beta | |||||
---|---|---|---|---|---|
November 29, 2010 | Fence gates were first mentioned on Get Satisfaction,[2] then confirmed by Jeb on Twitter.[3] | ||||
1.8 | Pre-release | Added fence gates. | |||
The inventory sprite did not have holes. | |||||
Sound Update | The opening and closing sounds of fence gates have been changed. | ||||
Java Edition | |||||
1.0.0 | Beta 1.9 Prerelease 5 | The texture of fence gates has been changed as a result of the planks texture being updated. | |||
Beta 1.9 Prerelease 6 | Fence gates are now broken faster using an axe. | ||||
1.1 | 12w01a | Now have hitboxes more akin to fences. | |||
release | Fence gates can now be opened and closed with redstone. | ||||
1.4.2 | 12w34a | Following the introduction of walls, fence gates can now be shifted down 3 pixels to accommodate their shape. | |||
1.4.4 | 1.4.3 | Fence gates, with the exception of closed east-west connected gates, have had UV changes, seemingly to make planks run across the geometry more realistically. | |||
1.8 | 14w11a | Fence gate models have been updated. Notably, the top texture rotates with the gate itself, making closed north and west facing gates distinguishable from closed south and east facing gates. In addition, wall gates now have the wood texture also shift to accommodate their model. | |||
The texture of the fence gate inventory icon has been changed. The inventory icon now shows the two holes. | |||||
14w17a | The UVs of non-wall gates have changed once more, excluding those facing south and closed. Closed gates facing north and west are once again indistinguishable from those facing south and east. | ||||
14w32b | Added spruce, birch, jungle, acacia, and dark oak fence gates. | ||||
The crafting recipe now requires 2 plank blocks of the same species, but a gate and a wooden fence can connect without matching. | |||||
Fence gates can now catch fire. | |||||
1.9 | 15w43a | Fence gates now have their own sounds. | |||
1.13 | 17w47a | The oak fence gate ID has been changed from fence_gate to oak_fence_gate .
| |||
Fence gates can now be placed without requiring a block below them. | |||||
Prior to The Flattening, these blocks' numeral IDs were 107, 183, 184, 185, 186 and 187. | |||||
1.14 | 18w43a | The textures of fence gates have been changed. | |||
18w47a | The textures of fence gates have been changed. | ||||
18w48a | Oak fence gates now generate in the updated plains villages. | ||||
18w49a | Spruce fence gates now generate in the newly added snowy tundra villages. | ||||
Acacia fence gates now generate in the updated savanna villages. | |||||
18w50a | Jungle fence gates now generate in the updated desert villages. | ||||
Spruce fence gates now generate in the updated taiga villages. | |||||
The texture of spruce fence gates have been changed. | |||||
1.16 | 20w06a | Added crimson and warped fence gates. | |||
October 16, 2021 | Mangrove fence gates are shown at Minecraft Live 2021. | ||||
1.19 | 22w11a | Added mangrove fence gates. | |||
22w14a | Due to the addition of the mangrove tree and mangrove swamp, mangrove fence gates are now obtainable and renewable. | ||||
October 18, 2022 | Bamboo fence gates were shown on the official article. | ||||
1.20 (Experimental) | 22w42a | Added bamboo fence gates behind the Update 1.20 experimental datapack. | |||
1.19.3 | 22w43a | Fence gates no longer provide center support beneath them. | |||
1.20 (Experimental) | 23w07a | Added cherry fence gates behind the Update 1.20 experimental datapack. | |||
1.20 | 23w12a | Bamboo and cherry fence gates are now available without using the aforementioned datapack. | |||
Pocket Edition Alpha | |||||
v0.2.0 | Added fence gates. | ||||
v0.3.0 | Survival players no longer start out with an infinite amount of fence gates in the inventory. | ||||
v0.4.0 | The UV of fence gates has been changed to match Java Edition. | ||||
v0.10.0 | build 1 | Added spruce, birch, jungle, acacia and dark oak fence gates. Note that these are not the textures used at the time, since this version was released in 2014, predating the Texture Update by many years. | |||
The inventory models of fence gates have been changed to be more akin to the old Java original model. | |||||
"Fence Gate" has been renamed to "Oak Fence Gate". | |||||
v0.13.0 | build 1 | Fence gates can now be opened and closed with redstone. | |||
? | Fence gates can now be shifted down 3 pixels to accommodate the shape of walls. | ||||
Pocket Edition | |||||
1.1.0 | alpha 1.1.0.0 | Dark oak fence gates now generate naturally in woodland mansions. | |||
Bedrock Edition | |||||
1.10.0 | beta 1.10.0.3 | Oak, spruce, jungle, and acacia fence gates now generate in the new villages. | |||
The textures of fence gates have been changed. | |||||
1.16.0 | beta 1.15.0.51 | Fence gates can now be placed without a block below them. | |||
beta 1.16.0.51 | Added crimson and warped fence gates. | ||||
1.16.20 | beta 1.16.20.50 | Crimson and warped fence gates now uses regular plank sounds instead of their stem variant sounds. | |||
1.19.0 | beta 1.19.0.20 | Added mangrove fence gates. | |||
Next Major Update (Experimental) | beta 1.19.50.21 | Added bamboo fence gates behind the "Next Major Update" experimental toggle. | |||
Added unique sounds for Nether and bamboo wood fence gates. | |||||
The fence gates now use the same opening and closing sound effects as Java Edition. | |||||
beta 1.19.80.20 | Added cherry fence gates behind the "Next Major Update" experimental toggle. | ||||
1.20.0 | beta 1.20.0.21 | Bamboo and cherry fence gates are now available without using the "Next Major Update" experimental toggle. | |||
1.20.30 | beta 1.20.30.21 | Fence gates now have the correct inventory model. They now show the two holes of the fence gate inside the inventory more like Java Edition.[4] | |||
Legacy Console Edition | |||||
TU5 | CU1 | 1.0 | Patch 1 | 1.0.1 | [verify] Added fence gates. This is not the texture used at the time though. |
Fence gates can be found in the Redstone & Transportation tab in the Creative inventory. | |||||
TU9 | Fence gates can now be opened and closed with redstone. | ||||
TU14 | Moved fence gates from the Redstone & Transportation tab, to the Building Blocks tab, in the Creative inventory. | ||||
TU25 | CU14 | 1.17 | Added spruce, birch, and jungle fence gates. These are not the textures used at the time. | ||
Acacia and dark oak fence gates are not obtainable in the Creative inventory. | |||||
"Fence Gate" has been renamed to "Oak Fence Gate". | |||||
TU27 | CU15 | 1.18 | Acacia and dark oak fence gates have been added to the Creative inventory. | ||
TU31 | CU19 | 1.22 | Patch 3 | Acacia doors and dark oak doors are now obtainable in survival mode. | |
PlayStation 4 Edition | |||||
1.90 | The textures of fence gates have been changed. | ||||
New Nintendo 3DS Edition | |||||
0.1.0 | Added fence gates, but not with these textures. |
Gallery[]
Issues[]
Issues relating to "Fence Gate" are maintained on the bug tracker. Report issues there.
References[]
- ↑ MC-252813 — "Open fence gates don't have any collision" — resolved as "Works As Intended".
- ↑ http://web.archive.org/web/20111231204100/http://getsatisfaction.com/mojang/topics/gates_for_fences
- ↑ "As the question was brought up, yes there are fence gates in 1.8. Not 100% satisfied with their looks though. You'll see at PAX Prime" – @jeb_ (Jens Bergensten) on X, August 19, 2011
- ↑ MCPE-44296