minecraft.wiki-mirror/wiki_backup/trapdoors.txt
2024-12-24 06:17:34 -05:00

140 lines
8.7 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{For|the two blocks tall variant|Door}}
[[File:All Trapdoors.png|thumb|All trapdoors.]]
A '''trapdoor''' is a solid, transparent [[block]] that can be used as an openable 1×1 barrier.
== Variants ==
* [[Wooden Trapdoor]]
** {{BlockLink|Oak Trapdoor}}
** {{BlockLink|Spruce Trapdoor}}
** {{BlockLink|Birch Trapdoor}}
** {{BlockLink|Jungle Trapdoor}}
** {{BlockLink|Acacia Trapdoor}}
** {{BlockLink|Dark Oak Trapdoor}}
** {{BlockLink|Mangrove Trapdoor}}
** {{BlockLink|Cherry Trapdoor}}
** {{BlockLink|Pale Oak Trapdoor}}
** {{BlockLink|Bamboo Trapdoor}}
** {{BlockLink|Crimson Trapdoor}}
** {{BlockLink|Warped Trapdoor}}
* {{BlockLink|Iron Trapdoor}}
* [[Copper Trapdoor]]
** {{BlockLink|Copper Trapdoor|Unoxidized Copper Trapdoor}} ({{BlockLink|Waxed Copper Trapdoor|Waxed}})
** {{BlockLink|Exposed Copper Trapdoor}} ({{BlockLink|Waxed Exposed Copper Trapdoor|Waxed}})
** {{BlockLink|Weathered Copper Trapdoor}} ({{BlockLink|Waxed Weathered Copper Trapdoor|Waxed}})
** {{BlockLink|Oxidized Copper Trapdoor}} ({{BlockLink|Waxed Oxidized Copper Trapdoor|Waxed}})
== Usage ==
{{See also|Tutorials/Trapdoor uses|title1=Trapdoor uses}}
=== Properties ===
Wooden and copper trapdoors can be opened and closed by players or redstone pulse. Iron trapdoors can be opened only by redstone pulse. Trapdoors can be opened or closed with a player or mob inside.<ref>{{bug|MC-11075||Trapdoor Colliding With Player|Won't Fix}}</ref>
To place a trapdoor, {{control|use}} a trapdoor item while pointing at the block it should be attached to. Once it is placed, the attachment block can be removed without breaking the trapdoor.
When placed, a trapdoor either occupies the top or bottom part of a block, depending on where the player placed the trapdoor. If a trapdoor is placed on the top part of a block, it opens downward. If placed on the bottom part of a block, it opens upward. A trapdoor's "hinge" is located on the block attached to it.
[[File:Trapdoors supporting lanterns.png|thumb|Closed trapdoors acting as solid surfaces for lanterns]]
Trapdoors can act as a solid block when in the closed position, and thus certain items can be placed above or below it (depending on whether the closed trapdoor occupies the top half or bottom half of a block). When trapdoors are opened, they act like a non-solid block resulting as a non-placeable area. [[Lantern]]s, for example, can be placed on top of a closed trapdoor that occupies the top half of a block, and below a closed trapdoor that occupies the bottom half of a block.
Trapdoors can be moved by [[piston]]s. Trapdoors block flowing water and lava. Waterlogged trapdoors release water from all sides apart from the top {{in|bedrock}}, or all sides apart from the side that is blocked by the trapdoor itself (and the top) {{in|java}}.
Closing a trapdoor one block above the ground while standing under it causes the player to [[crawl]], and continue crawling until reaching an area with at least 1.5 empty blocks above, at which time the player stands automatically. This can be used to enter small secret tunnels or otherwise inaccessible terrain.
[[File:Climbing a trapdoor.png|thumb|A player climbing an open trapdoor placed above a ladder]]
{{IN|java}}, single trapdoors are climbable if they are open and placed directly above a [[ladder]] on the same side of a wall. This means if an open trapdoor is placed in the middle of two ladders, players can climb through the trapdoor directly as if it were another ladder. However, if there is more than one trapdoor between two ladders, players cannot climb through (they are stopped at the top of the first trapdoor).
The sound of opening and closing of a trapdoor can be heard up to 16 blocks away, like most [[mob]] sounds.
=== Barrier ===
A trapdoor can be used as a switchable barrier to entity movement. Although primarily used to block movement by mobs and players, a trapdoor can also be used to control the movement of boats (for example, a top trapdoor placed in a two-wide water flow stops a boat when closed (extended out into the water flow), but allow it to move again when open), items and minecarts (a trapdoor can stop a falling item or minecart, then allow it to drop again when the trapdoor opens), etc.
Trapdoors are 0.1875 ({{frac|3|16}}) blocks thick. The rest of a trapdoor's space can be moved through freely and provides a breathable space if placed underwater and not waterlogged.
When a trapdoor opens or closes, it immediately changes its orientation without affecting anything in the space it "passes through". Moving trapdoors don't push entities the way that pistons do.
Mobs consider all trapdoors closed, resulting in pathfinding mobs falling through open trapdoors.<ref>{{bug|MC-50556||Mobs walk off open wooden and iron trapdoors or get trapped in them because they think they are closed|WAI}}</ref> A player can take advantage of this behavior to construct mob traps.
=== Redstone component ===
All types of trapdoors can be controlled with redstone power.
A trapdoor is a [[Redstone components#Mechanism components|redstone mechanism]] and can be activated by:
* an adjacent active '''[[Redstone components#Power components|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 trapdoor
* powered '''[[redstone dust]]''' configured to point at the trapdoor or a single redstone "cross" next to it; a trapdoor is ''not'' activated by adjacent powered redstone dust that is configured to point in another direction, or a single redstone "dot" next to it.
When activated, a trapdoor immediately rotates around its hinge side to its open state. When deactivated, a trapdoor immediately returns to its closed state. Each change of state takes one game tick.
An activated wooden or copper trapdoor can still be closed by a player, and does not re-open until it receives a new activation signal (if a trapdoor has been closed "by hand", it still needs to be deactivated and then reactivated to open by redstone).
== Block states ==
{{see also|Block states}}
{{/BS}}
== History ==
This table lists changes that affect more than one type of trapdoor (wooden, iron, and copper).
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.8|dev=14w07a|There are now two types of trapdoors: wooden and iron.}}
|{{HistoryLine||1.9|dev=15w31a|Trapdoors no longer require attachment [[block]]s.
|An open trapdoor may now be climbed like a [[ladder]] if it is directly above a ladder and on the same side of the block.}}
|{{HistoryLine|||dev=15w43a|Due to the addition of new sound events, trapdoors no longer make any [[sound]]s when opened or closed, since the sound files are missing.}}
|{{HistoryLine|||dev=16w04a|Trapdoors now have sounds again, which are now different from the door sounds.}}
|{{HistoryLine||1.13|dev=18w10d|[[Water]] can now be placed on the same block as trapdoors.}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.13.0|dev=build 1|There are now two types of trapdoors: wooden and iron.}}
|{{HistoryLine||v0.15.0|dev=build 1|Trapdoors no longer require attachment blocks.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.4.0|dev=beta 1.2.14.2|[[Water]] can now be placed in the same [[block]] as trapdoors.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU25|xbone=CU14|ps3=1.17|psvita=1.17|ps4=1.17|wiiu=Patch 1|switch=1.0.1|There are now two types of trapdoors: wooden and iron.}}
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|Trapdoors no longer require attachment [[block]]s.|An open trapdoor may now be climbed like a ladder if it is directly above a [[ladder]] and on the same side of the block.|Trapdoors now have their own [[sounds]].}}
|{{HistoryLine|new 3ds}}
|{{HistoryLine||0.1.0|Added two types of trapdoors: wooden and iron.}}
}}
== Issues ==
{{Issue list}}
== Gallery ==
<gallery>
File:Doortypes.png|All trapdoor types alongside with their respective door counterparts.
File:InvatorryThing (1).png|alt=
</gallery>
== References ==
{{Reflist}}
== External links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-trapdoor Taking Inventory: Trapdoor] Minecraft.net on October 19, 2018
== Navigation ==
{{Navbox redstone|components}}
{{Navbox blocks|Utility}}
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Utility blocks]]
[[Category:Climbable blocks]]
[[cs:Poklop]]
[[de:Falltür]]
[[es:Trampilla]]
[[fr:Trappe]]
[[it:Botola]]
[[ja:トラップドア]]
[[ko:다락문]]
[[lzh:窖門]]
[[nl:Valluik]]
[[pl:Klapa]]
[[pt:Alçapão]]
[[ru:Люк]]
[[th:ประตูกับดัก]]
[[uk:Люк]]
[[zh:活板门]]