Fence Gate

From Minecraft Wiki
(Redirected from Oak Fence Gate)
Jump to: navigation, search
Fence Gate
Oak Fence Gate JE4 BE2.pngSpruce Fence Gate JE4 BE2.pngBirch Fence Gate JE3 BE2.pngJungle Fence Gate JE3 BE2.pngAcacia Fence Gate JE3 BE2.pngDark Oak Fence Gate JE3 BE2.pngCrimson Fence Gate JE1 BE1.pngWarped Fence Gate JE1 BE1.png
Oak Fence Gate (Opened).pngSpruce Fence Gate (Opened).pngBirch Fence Gate (Opened).pngJungle Fence Gate (Opened).pngAcacia Fence Gate (Opened).pngDark Oak Fence Gate (Opened).pngCrimson Fence Gate (Opened).pngWarped Fence Gate (Opened).png
Renewable

Yes

Stackable

Yes (64)

Tool

Blast resistance

3

Hardness

2

Luminant

No

Transparent

Yes

Flammable

Overworld: Yes (5)
Nether: No

Catches fire from lava

Overworld: Yes
Nether: No

A fence gate is a block that shares the functions of both the door and the fence.

Occurrence[edit]

Natural generation[edit]

Oak

Oak fence gates generate as part of:

Spruce

Spruce fence gates generate as part of:

  • Taiga, snowy tundra and snowy taiga villages
Jungle

Jungle fence gates generate as part of:

Acacia

Acacia fence gates generate as part of:

Dark oak

Dark oak fence gates generate as part of:

Obtaining[edit]

Loot[edit]

From block loot[edit]

A fence gate can be broken with anything, but an axe is fastest.

Recipes[edit]

From crafting[edit]

Ingredients Crafting recipe
Matching Planks +
Stick

Usage[edit]

Breaking[edit]

A fence gate can be broken with anything, but an axe is fastest.

Block Fence Gates
Hardness 2
Tool
Breaking time[note 1]
Default 3
Wooden 1.5
Stone 0.75
Iron 0.5
Diamond 0.4
Netherite 0.35
Golden 0.25
  1. Times are for unenchanted tools in seconds. For more information, see Breaking § Speed.

Block loot[edit]

Fence gates drop themselves when mined with any tool.

Helmet[edit]

Steve wearing Oak Fence Gate.pngAlex wearing Oak Fence Gate.png

While a fence gate cannot be equipped in the head slot in Survival mode, equipping it using commands causes it to appear as eyeglasses.

Placing[edit]

A fence gate can provide access to a fenced-in area.

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.‌[Java Edition only][upcoming: BE 1.16.0]

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]

Closed fence gate.
Opened fence gate.

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:

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.

Sounds[edit]

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation distance
Block brokenBlocksBreaking the blockblock.wood.breaksubtitles.block.generic.break1.00.816
None[1]BlocksFalling on the block with fall damageblock.wood.fallNone0.50.7516
Block breakingBlocksMining the blockblock.wood.hitsubtitles.block.generic.hit0.250.516
Block placedBlocksPlacing the blockblock.wood.placesubtitles.block.generic.place1.00.816
FootstepsBlocksWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016
Fence Gate creaks? ? block.fence_gate.opensubtitles.block.fence_gate.toggle? ? 16
Fence Gate creaks? ? block.fence_gate.closesubtitles.block.fence_gate.toggle? ? 16

Data values[edit]

ID[edit]

Java Edition:

NameNamespaced IDTranslation key
Oak Fence Gateoak_fence_gate block.minecraft.oak_fence_gate
Spruce Fence Gatespruce_fence_gate block.minecraft.spruce_fence_gate
Birch Fence Gatebirch_fence_gate block.minecraft.birch_fence_gate
Jungle Fence Gatejungle_fence_gate block.minecraft.jungle_fence_gate
Acacia Fence Gateacacia_fence_gate block.minecraft.acacia_fence_gate
Dark Oak Fence Gatedark_oak_fence_gate block.minecraft.dark_oak_fence_gate
Crimson Fence Gatecrimson_fence_gate block.minecraft.crimson_fence_gate
Warped Fence Gatewarped_fence_gate block.minecraft.warped_fence_gate

Bedrock Edition:

NameNamespaced IDNumeric ID Translation key
Oak Fence Gatefence_gate 107tile.fence_gate.name
Spruce Fence Gatespruce_fence_gate 183tile.spruce_fence_gate.name
Birch Fence Gatebirch_fence_gate 184tile.birch_fence_gate.name
Jungle Fence Gatejungle_fence_gate 185tile.jungle_fence_gate.name
Acacia Fence Gateacacia_fence_gate 187tile.acacia_fence_gate.name
Dark Oak Fence Gatedark_oak_fence_gate 186tile.dark_oak_fence_gate.name
Crimson Fence Gatecrimson_fence_gate ?tile.crimson_fence_gate.name
Warped Fence Gatewarped_fence_gate ?tile.warped_fence_gate.name

Block data[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:
  • 0: Facing south
  • 1: Facing west
  • 2: Facing north
  • 3: Facing east
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]

Java Edition:

Name Default value Allowed values Description
facingnortheast
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_wallfalsefalse
true
If true, the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
openfalsefalse
true
If true, the gate is opened.
poweredfalsefalse
true
If true, the gate is receiving redstone power.

Bedrock Edition:

Name Default value Allowed values Description
direction00
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_bit00
1
If the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
open_bit00
1
If the gate is opened.

Video[edit]

History[edit]

Java Edition Beta
November 29, 2010Fence gates were first mentioned on Get Satisfaction,[2] then confirmed by Jeb on Twitter.[3]
1.8Pre-releaseOak Fence Gate JE1.png Added fence gates.
The inventory sprite did not have holes.
Sound UpdateThe opening and closing sounds of fence gates have been changed.
Java Edition
1.0.0Beta 1.9 Prerelease 5Oak Fence Gate JE2.png The texture of fence gates has been changed as a result of the planks texture being updated.
1.112w01aNow have hitboxes more akin to fences.
releaseFence gates can now be opened and closed with redstone.
1.814w11a The texture of the fence gate inventory icon has been changed. The inventory icon now shows the two holes.
14w32bBirch Fence Gate JE1.png Spruce Fence Gate JE1.png Jungle Fence Gate JE1.png Acacia Fence Gate JE1.png Dark Oak Fence Gate JE1.png Added birch, spruce, 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.915w43aFence gates now have their own sounds.
1.1317w47aThe 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.1418w43aOak Fence Gate 18w43a.png Spruce Fence Gate 18w43a.png Birch Fence Gate 18w43a.png Jungle Fence Gate 18w43a.png Acacia Fence Gate 18w43a.png Dark Oak Fence Gate 18w43a.png The textures of fence gates have been changed.
18w47aOak Fence Gate JE4 BE2.png Spruce Fence Gate 18w47a.png Birch Fence Gate JE3 BE2.png Jungle Fence Gate JE3 BE2.png Acacia Fence Gate JE3 BE2.png Dark Oak Fence Gate JE3 BE2.png The textures of fence gates have been changed.
18w50aSpruce Fence Gate JE4 BE2.png The texture of spruce fence gates have been changed.
Upcoming Java Edition
1.1620w06aCrimson Fence Gate JE1 BE1.png Warped Fence Gate JE1 BE1.png Added crimson and warped fence gates.
Pocket Edition Alpha
0.2.0 Added fence gates.
0.10.0build 1Birch Fence Gate JE3 BE2.png Spruce Fence Gate JE4 BE2.png Jungle Fence Gate JE3 BE2.png Acacia Fence Gate JE3 BE2.png Dark Oak Fence Gate JE3 BE2.png Added birch, spruce, jungle, acacia and dark oak fence gates. Note that these are not the textures used at the time.
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".
0.13.0build 1Fence gates can now be opened and closed with redstone.
Pocket Edition
1.1.0alpha 1.1.0.0Dark oak fence gates now generate naturally in woodland mansions.
Bedrock Edition
1.10.0beta 1.10.0.3Oak, spruce, jungle, and acacia fence gates now generate in the new villages.
Oak Fence Gate JE4 BE2.png Spruce Fence Gate JE4 BE2.png Birch Fence Gate JE3 BE2.png Jungle Fence Gate JE3 BE2.png Acacia Fence Gate JE3 BE2.png Dark Oak Fence Gate JE3 BE2.png The textures of fence gates have been changed.
Upcoming Bedrock Edition
1.16.0beta 1.15.0.51Fence gates can now be placed without a block below them.
beta 1.16.0.51Crimson Fence Gate JE1 BE1.png Warped Fence Gate JE1 BE1.png
Added crimson and warped fence gates.
Legacy Console Edition
TU5CU11.0Patch 1Oak Fence Gate JE4 BE2.png Added fence gates. This is not the texture used at the time though.
TU9Fence gates can now be opened and closed with redstone.
TU25CU141.17Birch Fence Gate JE3 BE2.png Spruce Fence Gate JE4 BE2.png Jungle Fence Gate JE3 BE2.png Acacia Fence Gate JE3 BE2.png Dark Oak Fence Gate JE3 BE2.png Added spruce, birch, and jungle fence gates. These are not the textures used at the time.
"Fence Gate" has been renamed to "Oak Fence Gate".
TU27CU151.18Acacia and dark oak fence gates have been added to the creative inventory.
PlayStation 4 Edition
1.90Oak Fence Gate JE4 BE2.png Spruce Fence Gate JE4 BE2.png Birch Fence Gate JE3 BE2.png Jungle Fence Gate JE3 BE2.png Acacia Fence Gate JE3 BE2.png Dark Oak Fence Gate JE3 BE2.png The textures of fence gates have been changed.
New Nintendo 3DS Edition
0.1.0 Birch Fence Gate JE3 BE2.png Spruce Fence Gate JE4 BE2.png Jungle Fence Gate JE3 BE2.png Acacia Fence Gate JE3 BE2.png Dark Oak Fence Gate JE3 BE2.png Added fence gates, but not with these textures.

Issues[edit]

Issues relating to "Fence Gate" are maintained on the bug tracker. Report issues there.

References[edit]