Fence Gate

From Minecraft Wiki
(Redirected from Oak Fence Gate)
Jump to: navigation, search
Fence Gate
Transparent

Yes

Luminant

0

Blast resistance

3

Tool

Renewable

Overworld: Yes
Nether: No‌[JE only]

Stackable

Yes (64)

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 Haste § Instant mining.

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 will cause it to appear like glasses.

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]

The following sounds section uses an outdated format and should be redone using {{Sound table}}.
You can help by converting the contents of this section into a sound table template.
Examples can be seen at Bee#Sounds and Ladder#Sounds.
Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Block breaking block.wood.hit subtitles.block.generic.hit Blocks 0.5 0.25 16
Block broken block.wood.break subtitles.block.generic.break Blocks 0.8 1.0 16
Block placed block.wood.place subtitles.block.generic.place Blocks 0.8 1.0 16
Footsteps block.wood.step subtitles.block.generic.footsteps Blocks 1.0 0.15 16
No subtitle block.wood.fall (Plays when fallen on from a height) Blocks 0.75 0.5 16
Fence Gate creaks block.fence_gate.open subtitles.block.fence_gate.toggle ? ? ? 16
Fence Gate creaks block.fence_gate.close subtitles.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 IDTranslation 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

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,[1] then confirmed by Jeb on Twitter.[2]
1.8Pre-release Added fence gates.
Sound UpdateThe opening and closing sounds of fence gates have now been changed.
Java Edition
1.0.0Beta 1.9 Prerelease 5Oak Fence Gate.png The texture of fence gates has now been changed as a result of the planks texture being updated.
1.1?Fence gates can now be opened and closed with redstone, and closing on block updates.
1.814w11a The texture of the fence gate inventory icon has now been changed. The inventory icon now shows the two holes.
14w32bBirch Fence Gate.png Spruce Fence Gate.png Jungle Fence Gate.png Acacia Fence Gate.png Dark Oak Fence Gate.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 now been changed from fence_gate to oak_fence_gate.
Fence gates can now be placed without 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 now been changed.
18w47aOak Fence Gate.png Spruce Fence Gate 18w47a.png Birch Fence Gate.png Jungle Fence Gate.png Acacia Fence Gate.png Dark Oak Fence Gate.png The textures of fence gates have now been changed.
18w50aSpruce Fence Gate.png The texture of spruce fence gates have now been changed.
Upcoming Java Edition
1.1620w06aCrimson Fence Gate.png Warped Fence Gate.png Added crimson and warped fence gates.
Pocket Edition Alpha
0.2.0 Added fence gates.
0.10.0build 1Birch Fence Gate.png Spruce Fence Gate.png Jungle Fence Gate.png Acacia Fence Gate.png Dark Oak Fence Gate.png Added birch, spruce, jungle, acacia and dark oak fence gates.
The inventory models of fence gates have now been changed to be more akin to the old Java original model.
"Fence Gate" has now 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.png Spruce Fence Gate.png Birch Fence Gate.png Jungle Fence Gate.png Acacia Fence Gate.png Dark Oak Fence Gate.png The textures of fence gates have now 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.png Warped Fence Gate.png
Added crimson and warped fence gates.
Legacy Console Edition
TU5CU11.0Patch 1Oak Fence Gate.png Added fence gates.
TU9Fence gates can now be opened and closed with redstone.
TU25CU141.17Birch Fence Gate.png Spruce Fence Gate.png Jungle Fence Gate.png Acacia Fence Gate.png Dark Oak Fence Gate.png Added spruce, birch, and jungle fence gates.
"Fence Gate" has now been renamed to "Oak Fence Gate".
TU27CU151.18Acacia and dark oak fence gates have now been added to the creative inventory.
PlayStation 4 Edition
1.90Oak Fence Gate.png Spruce Fence Gate.png Birch Fence Gate.png Jungle Fence Gate.png Acacia Fence Gate.png Dark Oak Fence Gate.png The textures of fence gates have now been changed.
New Nintendo 3DS Edition
0.1.0 Birch Fence Gate.png Spruce Fence Gate.png Jungle Fence Gate.png Acacia Fence Gate.png Dark Oak Fence Gate.png Added fence gates.

Issues[edit]

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

References[edit]