Share

Share

Fence Gate

From Minecraft Wiki
Jump to: navigation, search
Fence Gate
Fence Gate (Closed).pngSpruce Fence Gate (Closed).pngBirch Fence Gate (Closed).pngJungle Fence Gate (Closed).pngDark Oak Fence Gate (Closed).pngAcacia Fence Gate (Closed).png
Oak Fence GateSpruce Fence GateBirch Fence GateJungle Fence GateDark Oak Fence GateAcacia Fence Gate
Type

Solid Block

Requirements

None

Physics

No

Transparency

Yes

Luminance

No

Blast resistance

15

Hardness

2

Tool

This block can be broken with any tool, but an axe is the quickest

Renewable

Yes

Stackable

Yes (64)

Flammable

Yes

First appearances

See History

Drops

Itself

Data values

See data values

Name

See data values

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

Obtaining[edit]

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

Block
Fence Gate
Hardness 2
Tool
Breaking time (seconds)
Hand 3
Wooden 1.5
Stone 0.75
Iron 0.5
Diamond 0.375
Golden 0.25

Crafting[edit]

Ingredients Crafting recipe

Stick +
Any Wood Planks




Grid layout Arrow (small).png Oak Fence GateSpruce Fence GateBirch Fence GateJungle Fence GateAcacia Fence GateDark Oak Fence Gate
Stick Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks Stick
Stick Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks Stick

Usage[edit]

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

A fence gate can be used as a switchable barrier which 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 will automatically face towards the player who placed it, regardless of any other fences around it.

A fence gate can only be placed if there is a solid block beneath it, but after being placed the block beneath can be removed without affecting the fence gate.

Fences, nether brick fences and cobblestone walls will connect to fence gates, but glass panes and iron bars will not. If placed and not connected to anything else, a fence gate will appear to be floating.

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 the fence gate as a block and will not attack players through it unless they have already seen them.[Verify]

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]

See also: Redstone circuit

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 will immediately open. When deactivated, a fence gate immediately closes.

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.

Data values[edit]

Fence gates use six different ID names to determine the type of wood the gate is made from. Fence gates also use block data to determine additional data.

Type ID Name Numerical ID
Oak fence_gate 107
Spruce spruce_fence_gate 183
Birch birch_fence_gate 184
Jungle jungle_fence_gate 185
Dark Oak dark_oak_fence_gate 186
Acacia acacia_fence_gate 187

Data values[edit]

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.

Block states[edit]

Name Value Description

 facing
north
south
east
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
true
false
If true, the gate is lowered by two pixels, to accommodate attaching more cleanly with normal and mossy Cobblestone Walls.

 open
true
false
If true, the gate is opened.

 powered
true
false
If true, the gate is receiving redstone power.

Video[edit]

History[edit]

Beta
Fence gates were first mentioned on Get Satisfaction[1] then confirmed by Jeb on Twitter.[2]
1.8 Added fence gate.
Official release
1.0.0 1.0.0-RC1 New fence gate sounds.
1.1 Fence gates can now be opened and closed with redstone, and closing on block updates.
1.8 14w32b Added spruce, birch, jungle, acacia, and dark oak fence gates. The recipe now requires 2 plank blocks of the same species, but a gate and a wooden fence can connect without matching.
Can now catch fire.
Pocket Edition Alpha
0.2.0 Added fence gates.
0.10.0 build 1 Added spruce, birch, jungle, acacia and dark oak variants.
Console Edition
TU5 Added fence gates.
TU9 Fence gates can now be opened and closed with redstone.
Pi Edition
0.1.1 Added fence gates.

Issues[edit]

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

References[edit]