Minecraft Wiki
Advertisement

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:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
direction0x1
0x2
00
1
2
3
0
1
2
3
The direction the gate is facing
  • 0: Facing south
  • 1: Facing west
  • 2: Facing north
  • 3: Facing east
For an open gate, it's the direction the gates swing open.
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_bit0x8falsefalse
true
0
1
If the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
open_bit0x4falsefalse
true
0
1
If the gate is opened.
Advertisement