Door

Doors are blocks that are obtainable through crafting and can be found in NPC Villages and Strongholds. Doors come in two varieties: wooden doors made from planks, and iron doors made from iron ingots. Doors are hinged at a corner and have two states: rotated clockwise and rotated counter-clockwise. Villagers are the only mob that can open doors without any redstone-based help, although zombies can destroy wooden doors when the difficulty is set to hard.

The sound of opening and closing of a door can be heard up to 16 blocks away, like mob sounds with the exception of the Ghasts.

Fluids cannot flow through doors, open or closed.

Wooden Doors
A Wooden Door receiving either a left or right click will shift from one state to another state allowing or preventing passage. They may also be opened by using levers, buttons, pressure plates, or redstone.

Since zombies will only pound on or attempt to break down a Wooden Door when it is shut, any door placed so that its open state prevents passage, zombies will be unable to break down the door. This method is useful for protecting villages or the home of the player.

Iron Doors
An Iron Door is only able to be toggled by a switching mechanism. Iron doors can take quite a bit of time to destroy, even with a pickaxe. To destroy them more quickly, simply break the block beneath the door. Builders can discourage this by placing lava at the top of a 1x1 shaft above the door, and/or by placing the door on top of an obsidian block (or bedrock, if you are in creative mode.)

Since villagers cannot operate buttons or levers and zombies cannot break them, iron doors can be used to lock a house in a generated village.

Double Doors
If two doors are placed adjacent to each other, they will orient with their handles inward, creating a double door. Double doors can be opened by simply placing two pressure plates directly in front of the doors and stepping on them. Each pressure plate will open its respective door, and activating both pressure plates will open both doors.

Boats can also pass through double doors, with the doors acting as locks on canals or docks.

Bugs

 * When placing a painting next to a wooden door, will make it unavailable to close it from the other side the painting was placed.


 * If a snow golem walks too close to a double door, the right one will open.


 * If you manage to close a door on yourself and be caught inside it, when you log out and log back in, you will spawn back in on top of the structure in which the door is located.


 * While aiming at one half of the door while opening or closing it, if you are positioned in such a way that you are aiming at the opposite half of the door after the door has changed its state, it will open and close until you release the hit/use-key.


 * You can get stuck in between the door and go one of 2 ways: Back inside or outside.


 * If you shoot an arrow at a door, and open it, the arrow floats in the air.


 * If there is an arrow stuck in the door and the door breaks, the arrow flies forward rather than falling straight down.


 * When a zombie attacks a door, the pattern appears that shows that the door is being broken. If you break the door before the zombie does, the pattern will stay floating in the air where the door was.


 * Sometimes, you can place a block through a closed door.


 * Sometimes the bottom half of the door will disappear and when you try and break the remaining top half the block to the left will turn into cobblestone, when you try and break the cobblestone it will drop no item and turn the block below it into cobblestone this will continue randomly (smp)

Trivia

 * 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.
 * Despite being made of wood, Wooden Doors do not catch fire when close to lava.
 * If a melon block spawns opposite a closed door, the door will open
 * The above method still works for arrows: those shot from the inside and from a certain distance won't collide with the door (unless they hit the point where the two halves of the door connect), but go straight through without losing speed. Those shot from the outside will still collide and get stuck on the door. This glitch is highly dependent on the distance between the player and the door: Arrows must be fired from 7, 10, 11 or 14 blocks away to be able to go through.
 * Minecarts will not move through doors. Water will not pass through either, useful for flood control. Another practical use of this is to leave a door open as an entrance to something underwater that is water-free on the other side.
 * Minecarts can drop through doors if the door is in the right state (open/closed). This is an effective way to control them.
 * Doors placed on doors will be lost.
 * If you stand in an open door, then close it, you don't collide until you walk out and back in.
 * If you try to mine a door (on its center) then it will simply open and close.
 * It is impossible to place doors on an ice block.
 * In SMP, pressure plate lag may cause the server to drag you back behind a closed door when you thought you had already exited. To avoid this, stand next to the door and click it to open, without using the pressure plate.
 * You can interact with the world outside through the holes in the top of the doors.
 * If you manage to be in the door by closing/opening it a few times while being really close to the door can make you jump on the bottom side of it, and if you jump again, being on top of the side door.
 * Placing the door inside out in your home will mean that monsters will be able to attack you through it. You should place the door safely by going outside of your home, and then placing the door in the doorway that you have made. (See the beginner's tutorial)
 * If using a map editor, it is possible to turn doors upside down. However, when looked at, it breaks.
 * Punching a door in creative mode on the top half will yield a door drop, However punching on on the bottom half will not yield a door drop.
 * If there's a block diagonally next to a door, and the door is open and a torch is placed there, it will cause the door to close.
 * If you harvest the back side of a door, you'll notice the harvesting animation is mirrored.
 * Doors can not be placed on an upside-down slab.
 * In snapshot 12w27a when a Zombie attempt to break down a wooden door there will be the breaking animation. However when the door is broken the cracks will stay, these blocks cannot be broken or moved but they may be passed through.