141 lines
8.6 KiB
Text
141 lines
8.6 KiB
Text
{{About|the block|the music track|Door (song)|the single block tall variant|Trapdoor|the feature in Minecraft Dungeons|MCD:Door}}
|
|
[[File:All Doors.png|thumb|All doors.]]
|
|
A '''door''' is a block that serves as a switchable barrier to entity movement.
|
|
|
|
== Variants ==
|
|
* [[Wooden Door]]
|
|
** {{BlockLink|Oak Door}}
|
|
** {{BlockLink|Spruce Door}}
|
|
** {{BlockLink|Birch Door}}
|
|
** {{BlockLink|Jungle Door}}
|
|
** {{BlockLink|Acacia Door}}
|
|
** {{BlockLink|Dark Oak Door}}
|
|
** {{BlockLink|Mangrove Door}}
|
|
** {{BlockLink|Cherry Door}}
|
|
** {{BlockLink|Pale Oak Door}}
|
|
** {{BlockLink|Bamboo Door}}
|
|
** {{BlockLink|Crimson Door}}
|
|
** {{BlockLink|Warped Door}}
|
|
* {{BlockLink|Iron Door}}
|
|
* [[Copper Door]]
|
|
** {{BlockLink|Copper Door|Unoxidized Copper Door}} ({{BlockLink|Waxed Copper Door|Waxed}})
|
|
** {{BlockLink|Exposed Copper Door}} ({{BlockLink|Waxed Exposed Copper Door|Waxed}})
|
|
** {{BlockLink|Weathered Copper Door}} ({{BlockLink|Waxed Weathered Copper Door|Waxed}})
|
|
** {{BlockLink|Oxidized Copper Door}} ({{BlockLink|Waxed Oxidized Copper Door|Waxed}})
|
|
|
|
== Usage ==
|
|
=== Placement ===
|
|
Doors must be supported by a full solid block face beneath them. The bottom half of the door is placed where the player is aiming, with the top half extending one block above. If there is not enough space for the door, or not an appropriate supporting block underneath the base, no action is performed.
|
|
|
|
==== Facing direction ====
|
|
When placed, a door occupies the side of the block closest to the player, or behind the player if placed in the player's own space.
|
|
|
|
==== Hinge placement ====
|
|
When placed, a door checks the blocks to its immediate left and right and uses the following rules to determine hinge placement:
|
|
* If another matching door is adjacent, with its handle side touching the newly placed door, a double door forms. This causes the new door to have its handle touching the existing doors handle, with hinges opposite.
|
|
* If there is no other matching door present, the hinge is placed on the side with the highest number of adjacent solid block faces.
|
|
* If there are no blocks adjacent, or both sides fulfill a single other rule, the hinge is placed on the side closest to the players aim.
|
|
|
|
=== Behavior ===
|
|
[[Water]] and [[lava]] flow around doors.
|
|
|
|
[[Mob]]s can spawn in a space occupied by a door.
|
|
|
|
The sound of opening and closing of a door can be heard up to 16 blocks away, like most mob sounds.
|
|
|
|
When placed using the {{cmd|setblock}} command, only one half of a door is placed, because doors are actually two separate blocks. The lower half still works, but with graphical bugs, and the upper half does not. Redstone cannot be used because it updates the half, breaking it. The upper half does not drop anything when broken, the lower half drops a normal door. This implies that the upper half is dependent on the lower.
|
|
|
|
=== Barrier ===
|
|
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 stops 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.
|
|
|
|
{{IN|Java}}, doors provide a breathable space if placed underwater. {{IN|bedrock}}, doors in water source blocks are [[waterlogged]] and do not displace water source blocks.
|
|
|
|
Doors are 0.1875 ({{frac|3|16}}) blocks thick (0.1825 {{in|bedrock}}). The rest of a door's space can be moved through freely. A door occupies two block spaces and both halves normally act as a single barrier, although doors can be opened or closed with a player or mob occupying the bottom block of the door,<ref>{{bug|MC-54255||You can stand on the bottom block of a door, allowing you to climb it like a ladder|WF}}</ref> in which case the player can jump up to land on the bottom half of the door and then again to land on top of the door.
|
|
|
|
=== Air pockets ===
|
|
Doors can be used as air pockets under[[water]] {{in|Java}} because {{in|Java}}, doors can't be waterlogged, but it can also be used as air pockets in [[lava]] in both [[Java Edition|Java]] and [[Bedrock Edition|Bedrock]] editions. Since there's no air around the door, overworld wooden doors underneath lava will not burn.
|
|
|
|
== Block states ==
|
|
{{see also|Block states}}
|
|
|
|
{{/BS}}
|
|
|
|
== Video ==
|
|
{{yt|wx-24Kp7cIA}}
|
|
|
|
== History ==
|
|
''For a history of changes to textures and models for each block state, see [[Door/Asset history]]''
|
|
|
|
''For a history of the top and bottom blocks that form doors, see [[Technical blocks/Doors]]''
|
|
|
|
This table lists changes that affect more than one type of door (wooden, iron, and copper).
|
|
{{HistoryTable
|
|
|{{HistoryLine|java infdev}}
|
|
|{{HistoryLine||20100607|Added wooden doors.}}
|
|
|{{HistoryLine|java alpha}}
|
|
|{{HistoryLine||v1.0.1|There are now two types of doors: wooden and iron.
|
|
|Doors can now be controlled by redstone power.}}
|
|
|{{HistoryLine|java beta}}
|
|
|{{HistoryLine||1.7|Punching the back face of a left-hinge door or the front face of a right-hinge door, as well as destroying a door, would [[Java Edition placeholder texture uses|create]] particles using the [[Placeholder texture#Texture atlas blank spaces|block placeholder texture]].}}
|
|
|{{HistoryLine||1.7.3|Doors no longer produce placeholder texture particles.}}
|
|
|{{HistoryLine|java}}
|
|
|{{HistoryLine||1.8|dev=December 13, 2013|slink=https://twitter.com/jeb_/status/411425952338808832|[[Jens Bergensten|Jeb]] tweeted an image showing that the crafting recipes for doors are changed so that 3 doors are crafted at once. Doors are also stackable to 64.}}
|
|
|{{HistoryLine|||dev=14w02a|Doors are now stackable to 64.
|
|
|The [[crafting]] recipes of doors now yield 3 doors instead of 1.}}
|
|
|{{HistoryLine||1.9|dev=15w43a|Doors now have [[sound]]s for placing and different sounds for opening and closing.}}
|
|
|{{HistoryLine|||dev=15w47a|Doors now make [[sound]]s when placed,<ref>{{bug|MC-2844||Doors have no placement sound.|Fixed}}</ref> despite these apparently already being added in 15w43a.}}
|
|
|{{HistoryLine|||dev=15w49a|Doors are now placed facing left/right depending on which half of the [[block]] the [[player]] clicks on, unless neighboring doors or solid/opaque blocks cause them to place a certain way.}}
|
|
|{{HistoryLine||1.13|dev=17w47a|Doors can no longer be placed with their lower half inside entities<ref>{{bug|MC-2208}}</ref> but can still be placed with their upper half inside entities.<ref>{{bug|MC-123619}}</ref>}}
|
|
|{{HistoryLine||1.21|dev=24w21a|Doors of different materials now default to being placed oriented together to form a double door instead of both being placed with the hinge on the same side of the block.}}
|
|
|
|
|{{HistoryLine|pocket alpha}}
|
|
|{{HistoryLine||v0.1.0|There are textures for both wooden and iron doors.}}
|
|
|{{HistoryLine||v0.7.4|Doors can no longer be placed on top of farmland.}}
|
|
|{{HistoryLine||v0.12.1|dev=build 1|Doors are now stackable to 64.
|
|
|The [[crafting]] recipes of doors now yield 3 doors instead of 1.}}
|
|
|{{HistoryLine|bedrock}}
|
|
|{{HistoryLine||1.21.20|dev=Preview 1.21.10.22|Doors of different materials now default to being placed oriented together to form a double door instead of both being placed with the hinge on the same side of the block.}}
|
|
|
|
|{{HistoryLine|console}}
|
|
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added two types of doors: wooden and iron.}}
|
|
|{{HistoryLine||xbox=TU5|Doors can be found in the Redstone & Transportation tab in the [[Creative inventory]].}}
|
|
|{{HistoryLine||xbox=TU14|ps3=1.04|psvita=1.00|ps4=1.00|Moved doors to the Building Blocks tab in the Creative inventory.}}
|
|
|{{HistoryLine||xbox=TU26|xbone=CU15|ps3=1.18|psvita=1.18|ps4=1.18|Doors are now stackable to 64.}}
|
|
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|switch=1.0.1|Doors now have different [[sound]]s for opening and closing.|Doors now make [[sound]]s when placed.|Doors are now placed facing left/right depending on which half of the [[block]] the [[player]] clicks on, unless neighboring doors or solid/opaque blocks cause them to place a certain way.}}
|
|
|
|
|{{HistoryLine|new 3ds}}
|
|
|{{HistoryLine||0.1.0|Added two types of doors: wooden and iron.}}
|
|
}}
|
|
|
|
== Issues ==
|
|
{{Issue list}}
|
|
|
|
== Gallery ==
|
|
<gallery>
|
|
File:Doortypes.png|All door types alongside with their respective trapdoor counterparts.
|
|
</gallery>
|
|
|
|
== References ==
|
|
{{Reflist}}
|
|
|
|
== Navigation ==
|
|
{{Navbox redstone|components}}
|
|
{{Navbox blocks|Utility}}
|
|
|
|
[[Category:Mechanisms]]
|
|
|
|
[[cs:Dveře]]
|
|
[[de:Tür]]
|
|
[[es:Puerta]]
|
|
[[fr:Porte]]
|
|
[[hu:Ajtók]]
|
|
[[it:Porta]]
|
|
[[ja:ドア]]
|
|
[[ko:문]]
|
|
[[nl:Deur]]
|
|
[[pl:Drzwi]]
|
|
[[pt:Porta]]
|
|
[[ru:Дверь]]
|
|
[[th:ประตู]]
|
|
[[uk:Двері]]
|
|
[[zh:门]]
|