Door

Doors are blocks that are only obtainable through crafting. Doors come in wooden doors made from plank and iron doors made from iron ingot. Doors are hinged at a corner and has two states of rotated clockwise and rotated counter-clockwise.

Destroying the block beneath a door will break it. Swords are also effective against wooden doors, though the sword will still take double damage.

Wood Doors
Upon clicking a Wood Door with either the left or right mouse button the block will shift from one state to another state allowing or preventing passage. These may also be opened by using Levers, Stone Buttons or Pressure Plates.

Iron Doors
An Iron Door is only able to be toggled by a switching mechanism such as a Levers, Pressure Plates or a Stone Button. If an iron door has at least one "open" signal connected then it will be "open". However, a clever engineer can make it so that the door blocks passage when "open" and allows it when "closed". This creates the possibility to make doors that are only controllable from remote locations using a switch and Redstone; otherwise just putting a red torch in front of the door opens it.

Iron doors can take quite a bit of time to destroy even with a pickaxe. To destroy them even more quickly, simply break the block beneath the door.

Double Door
If two doors are placed adjacent to each other, they will orient with their handles inward, creating a double door. The left half of the double door will be in the rotated clockwise state while the right half of the double door will be in the rotated counter-clockwise state. It is possible to make a double door with pressure plates like soand so. Boats can now pass through double doors, with the doors acting as locks on canals or docks.

Draw Bridge
An interesting property of a door is that you can walk on top of them. An easy way to make a drawbridge is to use two doors, two switches, and at least a 2 by 2 by 2 deep pit. Have the two doors on opposite sides at the bottom of the pit so that when opened the doors create a small line in the middle. Put the switches on the same sides of the door so that when pushed both doors will open; you should have just enough time to get across.

Glitches
Because the door occupies the edge of a tile, if you stand in the center of the tile you can hit things on the other side. Make sure you place the door from the outside of your house so that you can attack monsters on the other side, but they cannot attack you. As long as you follow this rule and make sure the door is on the edge that will be exposed to danger, monsters cannot harm you from the outside, but you can fight them without opening the door.

Minecarts will not move through doors. Water will not pass through either, useful for flood control. Another practical use of the door's water glitch is to leave a door open as an entrance to something underwater that is water-free on the other side.

Doors placed on doors will be lost, and nothing will happen.

There is another major glitch that can only be made by using a map editor. If the lower half of a door is copied, it is possible to get a 1 block high door.

If you try to use /give command to give a door to a player, the player will receive just the lower half of the door. If the player places it and breaks it, it will drop a normal door. If you stand in an open wood door, then close it, you don't collide until you walk out and back in.

It is also impossible to place doors on a ice block.

Tür