Fence Gate
Renewable |
Yes |
---|---|
Stackable |
Yes (64) |
Tool | |
Blast resistance |
3 |
Hardness |
2 |
Luminant |
No |
Transparent |
Yes |
Flammable |
Overworld: Yes (5) |
Catches fire from lava |
Overworld: Yes |
A fence gate is a block that shares the functions of both the door and the fence.
Contents
Obtaining[edit]
Breaking[edit]
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[edit]
- Oak
Oak fence gates generate as part of:
- Plains villages
- Spruce
Spruce fence gates generate as part of:
- Taiga, snowy tundra and snowy taiga villages
- 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[edit]
Ingredients | Crafting recipe |
---|---|
Matching Planks + Stick |
Usage[edit]
Placing[edit]
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[edit]
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, including the open gates. 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[edit]
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[edit]
Fence gates can be used as a fuel in furnaces, smelting 1.5 items per fence gate.
Note Blocks[edit]
Fence gates can be placed under note blocks to produce "bass" sound.
Helmet[edit]
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[edit]
Generic[edit]
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Once the block has broken | 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 | While the block is in the process of being broken | block.wood.hit | subtitles.block.generic.hit | 0.25 | 0.5 | 16 | |
Block placed | Blocks | When the block is placed | 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 | 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 |
Unique[edit]
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Fence Gate creaks | ? | ? | block.fence_gate.close | subtitles.block.fence_gate.toggle | ? | ? | 16 | |
Fence Gate creaks | ? | ? | block.fence_gate.open | subtitles.block.fence_gate.toggle | ? | ? | 16 |
Data values[edit]
ID[edit]
Name | Namespaced ID | Block tags (JE) | Item tags (JE) | Form | Translation key |
---|---|---|---|---|---|
Oak Fence Gate | oak_fence_gate | fence_gates unstable_bottom_center | None | Block & Item | block.minecraft.oak_fence_gate |
Spruce Fence Gate | spruce_fence_gate | fence_gates unstable_bottom_center | None | Block & Item | block.minecraft.spruce_fence_gate |
Birch Fence Gate | birch_fence_gate | fence_gates unstable_bottom_center | None | Block & Item | block.minecraft.birch_fence_gate |
Jungle Fence Gate | jungle_fence_gate | fence_gates unstable_bottom_center | None | Block & Item | block.minecraft.jungle_fence_gate |
Acacia Fence Gate | acacia_fence_gate | fence_gates unstable_bottom_center | None | Block & Item | block.minecraft.acacia_fence_gate |
Dark Oak Fence Gate | dark_oak_fence_gate | fence_gates unstable_bottom_center | None | Block & Item | block.minecraft.dark_oak_fence_gate |
Crimson Fence Gate | crimson_fence_gate | fence_gates non_flammable_wood unstable_bottom_center | non_flammable_wood | Block & Item | block.minecraft.crimson_fence_gate |
Warped Fence Gate | warped_fence_gate | fence_gates non_flammable_wood unstable_bottom_center | non_flammable_wood | Block & Item | block.minecraft.warped_fence_gate |
Name | Namespaced ID | Numeric ID | Form | Translation key |
---|---|---|---|---|
Oak Fence Gate | fence_gate | 107 | Block & Item | tile.fence_gate.name |
Spruce Fence Gate | spruce_fence_gate | 183 | Block & Item | tile.spruce_fence_gate.name |
Birch Fence Gate | birch_fence_gate | 184 | Block & Item | tile.birch_fence_gate.name |
Jungle Fence Gate | jungle_fence_gate | 185 | Block & Item | tile.jungle_fence_gate.name |
Acacia Fence Gate | acacia_fence_gate | 187 | Block & Item | tile.acacia_fence_gate.name |
Dark Oak Fence Gate | dark_oak_fence_gate | 186 | Block & Item | tile.dark_oak_fence_gate.name |
Crimson Fence Gate | crimson_fence_gate | 513 | Block & Item | tile.crimson_fence_gate.name |
Warped Fence Gate | warped_fence_gate | 514 | Block & Item | tile.warped_fence_gate.name |
Metadata[edit]
In Bedrock Edition, fence gates use the following data values:
Bits | Description |
---|---|
0x1 0x2 |
Two bits storing a value from 0 to 3 specifying the direction the gate is facing:
|
0x4 | 0 if the gate is closed, 1 if open. |
0x8 | If 1, the gate is lowered by three pixels, to accommodate attaching more cleanly with Walls. |
Block states[edit]
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 | Default value | Allowed values | Description |
---|---|---|---|
direction | 0 | 0 1 2 3 | 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_bit | 0 | 0 1 | If the gate is lowered by three pixels, to accommodate attaching more cleanly with walls. |
open_bit | 0 | 0 1 | If the gate is opened. |
Video[edit]
History[edit]
Java Edition Beta | |||||
---|---|---|---|---|---|
November 29, 2010 | Fence gates were first mentioned on Get Satisfaction,[1] then confirmed by Jeb on Twitter.[2] | ||||
1.8 | Pre-release | ![]() | |||
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 | ![]() | |||
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.8 | 14w11a | The texture of the fence gate inventory icon has been changed. The inventory icon now shows the two holes. | |||
14w32b | ![]() ![]() ![]() ![]() ![]() | ||||
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 | ![]() ![]() ![]() ![]() ![]() ![]() | |||
18w47a | ![]() ![]() ![]() ![]() ![]() ![]() | ||||
18w50a | ![]() | ||||
1.16 | 20w06a | ![]() ![]() | |||
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.10.0 | build 1 | ![]() ![]() ![]() ![]() ![]() | |||
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. | |||
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. | |||
![]() ![]() ![]() ![]() ![]() ![]() | |||||
1.16.0 | beta 1.15.0.51 | Fence gates can now be placed without a block below them. | |||
beta 1.16.0.51 | ![]() ![]() | ||||
1.16.20 | beta 1.16.20.50 | Crimson and warped fence gates now uses regular plank sounds instead of their stem variant sounds. | |||
Legacy Console Edition | |||||
TU5 | CU1 | 1.0 | Patch 1 | ![]() | |
TU9 | Fence gates can now be opened and closed with redstone. | ||||
TU25 | CU14 | 1.17 | ![]() ![]() ![]() ![]() ![]() | ||
"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. | ||
PlayStation 4 Edition | |||||
1.90 | ![]() ![]() ![]() ![]() ![]() ![]() | ||||
New Nintendo 3DS Edition | |||||
0.1.0 | ![]() ![]() ![]() ![]() ![]() |
Issues[edit]
Issues relating to "Fence Gate" are maintained on the bug tracker. Report issues there.
References[edit]