See Data values
See Data values
A door is a block that can be used as a switchable barrier.
There are seven different kinds of doors: six types of wood doors, as well as an iron door. In the pocket edition, there is only one type of wooden door.
Obtaining[edit | edit source]
Breaking[edit | edit source]
To break a door, attack it. An iron door removed by hand will not drop itself as an item.
|Breaking time[note 1]|
- Times are for unenchanted tools in seconds.
A door will also be removed and drop itself as an item:
- if the block beneath the door is moved, removed, or destroyed
- if a piston tries to push the door (trying to pull a door does nothing) or moves a block into its space
Crafting[edit | edit source]
Any wood Door
Any Wood Planks
In the pocket edition, all types of wood craft the oak door.
Natural generation[edit | edit source]
Oak wood doors are generated on buildings in villages, forming the entrances to the majority of buildings. Oak wood doors and iron doors generate naturally in strongholds, with the latter having a stone button to open.
Usage[edit | edit source]
Doors must be "attached" to a block beneath them. To place a door, use a door item while pointing at the top of the block it should be attached to. A door can be attached to:
- the top of any full solid opaque block (stone, dirt, blocks of gold, etc.)
- the top of an upside-down slab or upside-down stairs
When placed, a door will occupy the side of the block towards the placing player's back — if a player places a door in front of them, the door will occupy the side of the block closest to them (and open away from them); if a player places a door in their own space, the door will end up behind the player (and open through them).
By default a door's "hinge" will be on the left side and its "handle" on the right side (from the placing player's point of view), but the hinge can be forced to the right side by:
- placing a door to the right of another door (creating a double door where both doors open away from each other)
- placing a door to the left of a full solid opaque block (top or bottom), making the hinge appear to attach to the side block.
Water and lava will flow around doors. Lava can create fire in air blocks next to wood doors as if the wood doors were flammable, but the doors will not burn up (and can't be burned by other methods either).
Barrier[edit | edit source]
A door can be used as a switchable barrier to entity movement. Although primarily used to block movement by mobs and players, a door can also be used to control the movement of boats (for example, a door placed in a two-wide water flow will stop a boat when perpendicular to the flow, but allow it to move again when parallel), items and minecarts (a door can stop a falling item or minecart, then allow it to drop again when the door moves), etc.
Doors are 0.1875 (3⁄16) blocks thick. The rest of a door's space can be moved through freely and provides a breathable space if placed underwater. A door occupies two block spaces and both halves normally act as a single barrier, but if a player is occupying the space a door moves to, the player can jump up to land on the bottom part of the door and then again to land on top of the door.
To open or close a wood door, use the Use Item/Place Block control. When a door opens or closes, it immediately changes its orientation without affecting anything in the space it "passes through". Moving doors don't push entities the way that pistons do.
Some zombies can break wood doors in Hard mode, but only do so to reach targeted players or villagers. Zombies have only a 5% chance to spawn with the ability to break doors, and will only attempt to break wood doors which are in their "closed" state, even if a door is placed so that its "open" state blocks access (for example, by facing sideways when placing a door so that it allows passage when closed and blocks passage when open).
The sound of opening and closing of a door can be heard up to 16 blocks away, like most mob sounds.
Redstone component[edit | edit source]
- See also: Redstone circuit
Both wood and iron doors can be controlled with redstone power.
A door is a redstone mechanism component and can be activated by:
- an adjacent active power component, including above or below: for example, a redstone torch, a block of redstone, a daylight sensor, etc.
- an adjacent powered block (for example, a block with an active redstone torch under it), including above or below
- a powered redstone comparator or redstone repeater facing the door
- powered redstone dust configured to point at the door or a directionless "dot" next to it; a door is not activated by adjacent powered redstone dust which is configured to point in another direction.
All methods of activating a door can be applied to either the top or bottom parts of a door.
When activated, a door will immediately "rotate" around its hinge side to its open state. When deactivated, a door immediately returns to its closed state.
An activated wood door can still be closed by a player or villager, and won't re-open until it receives a new activation signal (if a door has been closed "by hand", it still needs to be deactivated and then reactivated to open by redstone).
Data values[edit | edit source]
A door's type is defined by its ID name, and its orientation and status are stored in the block data of its top and bottom halves. A door also has a block state which is expected to replace the functionality of block data in a future version.
ID[edit | edit source]
A door's ID defines what type of door it is.
|Name||ID Name||Block ID||Item ID|
|Dark Oak Door||
Block data[edit | edit source]
- See also: Data values
A door specifies its hinge side in the block data of its upper block, and its facing and opened status in the block data of its lower block.
|0x1||0 if hinge is on the left (the default), 1 if on the right|
|0x2||0 if unpowered, 1 if powered|
|0x8||Always 1 for the upper part of a door.|
|Two bits storing a value from 0 to 3 specifying the direction the door is facing:
|0x4||0 if the entire door is closed, 1 if open.|
|0x8||Always 0 for the lower part of a door.|
Block state[edit | edit source]
- See also: Block states
||The direction the door's "inside" is facing.
The direction the player faces while placing the door.
For example, a door facing east will occupy the west part of its block when closed.
||Identifies which part of the door the block is.|
||Identifies the side the hinge is on (when facing the same direction as the door's inside).|
||True if the door is currently open (may differ from
||True if the door is currently activated (may differ from
Video[edit | edit source]
History[edit | edit source]
|June 7, 2010||Added wooden doors. Side used wooden planks texture and inventory texture did not have holes.|
|June 8, 2010||Doors got smarter rotation logic.|
|1.0.1||Added iron doors. Before this update, wooden doors had two textures. One for facing left, and one for facing right. The one facing left was replaced with the iron door texture; doors now reverse the facing right texture for other directions.|
|Inventory texture changed to make it match with the actual door in general.|
|1.6||Fixed being able to hit through doors.|
|1.7.3||Doors no longer make the particle effect.|
|1.8||Doors would not make a sound when opened or closed.|
|Doors occur naturally in villages and strongholds.|
|Sound Update||Door opening and closing sounds changed.|
|1.0.0||1.0.0-RC1||Doors got a new sound effect.|
|1.0.0-RC2||Wooden doors could not be opened by hand, but by redstone.|
|?||Wooden doors can again be opened by hand.|
|1.2.1||12w06a||Zombies can break wooden doors.|
|?||Fixed double doors.|
|1.7.2||13w37a||Block IDs 64 (wood door) and 71 (iron door) were removed from the
|1.8||December 13, 2013||Jeb tweeted an image showing that the crafting recipes for doors will be changed so that 3 doors are crafted at once. Doors will also be stackable to 64.|
|14w02a||Doors are stackable to 64.|
|Crafting recipe now yields 3 doors instead of 1.|
|August 8, 2014||TheMogMiner tweeted an image showing new types of wood doors.|
|14w32d||New types of wood doors added: spruce, birch, jungle, acacia and dark oak.|
|14w33a||Original wooden door (Door) renamed to Oak Door.|
|Item textures of new doors changed to match the dimensions of oak and iron doors.|
|Jungle and acacia door block textures no longer have inner faces in the holes in their models.|
|14w33b||All item textures changed, now have hinges on the left and handles on the right.|
|Pocket Edition Alpha|
|0.2.0||Added oak and iron doors, the latter only obtainable through inventory editing. It appears to have a broken bottom half texture.|
|0.8.0||build 2||Iron doors now have PC texture (pre-1.8).|
|0.11.0||build 1||Original wooden door (Door) renamed to Oak Door.|
|0.12.1||build 1||Doors are stackable to 64.|
|build 1||Crafting recipe now yields 3 doors instead of 1.|
|0.1.1||Added wooden doors.|
|TU1||1.0||Added doors and iron doors.|
|TU14||1.04||Doors being broken by zombies now show damage.|
|CU1||1.00||Added doors to Xbox One, PlayStation 4, and PlayStation Vita.|
|TU25||CU14||1.17||Added spruce, birch, and jungle door variants.|
|Crafting recipe now yields 3 doors instead of 1.|
|Original wooden door (Door) renamed to Oak Door.|
|TU27||CU15||1.18||Added acacia and dark oak doors to the creative inventory.|
Issues[edit | edit source]
Issues relating to "Door" are maintained on the issue tracker. Report issues there.
Trivia[edit | edit source]
- In Pocket Edition, standing in the center of a door will mean that you can punch blocks on the other side of the door without any interference.
- If you punch a door in the Xbox 360 Edition, it will open.
- Iron doors have a scar where the handle would be, as they are merely a resprited oak door.
Gallery[edit | edit source]
Naturally occurring iron door in a stronghold.