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.
| Name | Default value | Allowed values | Description |
|---|---|---|---|
| facing | north | eastnorthsouthwest | 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. |
| half | lower | lowerupper | Identifies which part of the door the block is. |
| hinge | left | leftright | Identifies the side the hinge is on (when facing the same direction as the door's inside). |
| open | false | falsetrue | True if the door is currently open. |
| powered | false | falsetrue | True if the door is currently powered by redstone. |
Bedrock Edition:
Lower Door Block:
| Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
|---|---|---|---|---|---|
| direction | 0x10x2 | 0 | 0123 | 0123 | 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.
|
| door_hinge_bit | — [sic] | false | falsetrue | 00 [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_bit | 0x4 | false | falsetrue | 01 | True if the door is currently open. |
| upper_block_bit | 0x8 | false | falsetrue | 01 | Always false for the lower part of a door. |
Upper Door Block:
| Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
|---|---|---|---|---|---|
| direction | — [sic] | 0 | 0123 | 0000 [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.
|
| door_hinge_bit | — [sic] | false | falsetrue | 0Unsupported | 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] | false | falsetrue | 00 [sic] | True if the door is currently open. Lower door block has the same aux value when it is opened and closed. |
| upper_block_bit | 0x8 | false | falsetrue | 01 | Always true for the upper part of a door. |
Sources
- Door/BS — Minecraft Wiki, CC BY-NC-SA 3.0, revision 2481468.