Door/BS

📌 Mirrored from Minecraft Wiki

This article is reproduced from Door/BS on the Minecraft Wiki. Mirrored from revision 2481468. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

Java Edition:

Name Default value Allowed values Description
facingnortheast
north
south
west
The direction the door's "inside" is facing.
The direction the player faces while placing the door.
For example, a door facing east occupies the west part of its block when closed.
halflowerlower
upper
Identifies which part of the door the block is.
hingeleftleft
right
Identifies the side the hinge is on (when facing the same direction as the door's inside).
openfalsefalse
true
True if the door is currently open.
poweredfalsefalse
true
True if the door is currently powered by redstone.

Bedrock Edition:
Lower Door Block:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
direction0x1
0x2
00
1
2
3
0
1
2
3
The direction the door's "inside" is facing.
The direction the player faces while placing the door.
For example, a door facing east occupies the west part of its block when closed.
  • 0: Facing east
  • 1: Facing south
  • 2: Facing west
  • 3: Facing north
door_hinge_bit— [sic]falsefalse
true
0
0 [sic]
Identifies the side the hinge is on (when facing the same direction as the door's inside). false if hinge is on the left (the default), true if on the right.
Lower door block has the same aux value when it is opened and closed.
open_bit0x4falsefalse
true
0
1
True if the door is currently open.
upper_block_bit0x8falsefalse
true
0
1
Always false for the lower part of a door.

Upper Door Block:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
direction— [sic]00
1
2
3
0
0
0
0 [sic]
The direction the door's "inside" is facing.
The direction the player faces while placing the door.
For example, a door facing east occupies the west part of its block when closed.
  • 0: Facing east
  • 1: Facing south
  • 2: Facing west
  • 3: Facing north
Upper door block has the same aux value no matter what it faces.
door_hinge_bit— [sic]falsefalse
true
0
Unsupported
Identifies the side the hinge is on (when facing the same direction as the door's inside). false if hinge is on the left (the default), true if on the right.
Upper door block doesn't support aux value when its hinge is on the right.
open_bit— [sic]falsefalse
true
0
0 [sic]
True if the door is currently open.
Lower door block has the same aux value when it is opened and closed.
upper_block_bit0x8falsefalse
true
0
1
Always true for the upper part of a door.

Sources