Trapdoor

A trapdoor is a solid, transparent block that can be used as an openable 1×1 barrier.
== Obtaining ==
=== Breaking ===
Wooden trapdoors can be mined with any tool, but an axe is the fastest. Iron trapdoors require a pickaxe to drop as items. Trapdoors remain in place if their attachment block is moved, removed, or destroyed.
=== Natural generation ===
Most types of trapdoors can be found in shipwrecks. Specifically:
* trapdoors generate in villages, igloos, and shipwrecks.
* trapdoors generate in taiga villages and shipwrecks.
* trapdoors generate in desert villages (around composters) and shipwrecks.
* trapdoors generate in shipwrecks.
* trapdoors generate in ancient cities.
* trapdoors generate in trial chambers.
=== Crafting ===
== Usage ==
=== Properties ===
Wooden trapdoors can be opened and closed by players or redstone pulse. Iron trapdoors can be opened only by redstone pulse.
To place a trapdoor, 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.
Trapdoors can be moved by pistons. Trapdoors block flowing water and lava. Waterlogged trapdoors release water from all sides apart from the top or all sides apart from the side that is blocked by the trapdoor itself (and the top) Lava can create fire in air blocks next to wooden trapdoors as if they were flammable, but the trapdoors do not burn (and cannot be burned by other methods either).
Single trapdoors are climbable if they are opened and placed directly above a ladder against a wall. This means if an opened trapdoor is placed in the middle of two ladders, players can climb through it directly. 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).
Trapdoors can act as a solid block when in the closed position and thus certain items can be placed above or below it. When trapdoors are opened, they act like a non-solid block resulting as a non-placeable area. Lanterns, for example, can be placed on top and below the closed trapdoor.
The sound of opening and closing of a trapdoor can be heard up to 16 blocks away, like most mob sounds.
Trapdoors can be opened or closed with a player or mob inside. – "Trapdoor Colliding With Player" resolved as "Won't Fix"
, closing a trapdoor one block above the ground while standing under it causes the player to crawl, and continue crawling until reaching a block with two empty spaces above, at which time the player stands automatically. This can be used to enter small secret tunnels or otherwise inaccessible terrain. This functionality is not available unless the “Crawling” experimental feature is enabled.
=== 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 () 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.
To open or close a wooden trapdoor, use the control. 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.
Iron trapdoors can be opened only with redstone power (a button, a redstone circuit, etc.).
Mobs consider all trapdoors closed, resulting in pathfinding mobs falling through open trapdoors. A player can take advantage of this behavior to construct mob traps.
=== Redstone component ===
Both wooden and iron trapdoors can be controlled with redstone power.
A trapdoor is a redstone mechanism 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 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 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).
=== Fuel ===
Overworld wooden trapdoors can be used as a fuel in furnaces, smelting 1.5 items per block.
=== Note blocks ===
Wooden trapdoors can be placed under note blocks to produce "bass" sounds.
== Sounds ==
=== Generic ===
==== Iron ====
==== Normal wood ====
==== Cherry wood ====
==== Bamboo wood ====
==== Nether wood ====
=== Unique ===
:
:
== Data values ==
=== ID ===
:
:
=== Block states ===
== Video ==
== History ==
== Issues ==
== Gallery ==
Oak Trapdoor.png| Oak Trapdoor
Spruce Trapdoor.png| Spruce Trapdoor
Birch Trapdoor.png| Birch Trapdoor
Jungle Trapdoor.png| Jungle Trapdoor
Acacia Trapdoor.png| Acacia Trapdoor
Dark Oak Trapdoor.png| Dark Oak Trapdoor
Mangrove Trapdoor.png| Mangrove Trapdoor
Cherry Trapdoor.png| Cherry Trapdoor
Bamboo Trapdoor.png| Bamboo Trapdoor
Crimson Trapdoor.png| Crimson Trapdoor
Warped Trapdoor.png| Warped Trapdoor
Iron Trapdoor.png|Iron Trapdoor
=== Screenshots ===
Open Trapdoor.png|An example of an open trapdoor, shown with its back to a block.
Closed trapdoor.png|An example of a closed trapdoor, shown flat against the adjacent block.
HalfTrapSlabDoors.png|Trapdoors on slabs.
Irontrapdoor.png|Iron trapdoors.
Doortypes.png|All trapdoor types alongside with their respective door counterparts.
Trapdoor Closed.png|Closed trapdoor.
Trapdoor screenshot 1.png|Open trapdoor.
Mangrove Trapdoor teaser.jpg|First image of a mangrove trapdoor.
=== Concept Art ===
Bamboo Wood and Door Concept Art.png|Bamboo trapdoor concept art.
Bamboo Door Prototype Textures.png|Bamboo trapdoor prototype textures.
== References ==
== External Links ==
*Taking Inventory: Trapdoor – Minecraft.net on October 19, 2018
Category:Mechanics
Category:Redstone mechanics
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:다락문
nl:Valluik
pl:Klapa
pt:Alçapão
ru:Люк
th:ประตูกับดัก
uk:Люк
zh:活板门