Trapdoor

For the two blocks tall variant, see Door.
All trapdoors

A trapdoor is a solid, transparent block that can be used as an openable 1×1 barrier.

Variants

Usage

See also: 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.[1]

To place a trapdoor, 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.

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. Lanterns, 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 pistons. Trapdoors block flowing water and lava. Waterlogged trapdoors release water from all sides apart from the top in Bedrock Edition, or all sides apart from the side that is blocked by the trapdoor itself (and the top) in Java Edition.

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.

A player climbing an open trapdoor placed above a ladder

In Java Edition, 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 (316) 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.[2] 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 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 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

Java Edition:

Name Default value Allowed values Description
facingnortheast
north
south
west
The direction the trapdoor swings open.
The opposite from the side its hinge is attached to.
halfbottombottom
top
Whether the trapdoor occupies the top or bottom part of a block.
openfalsefalse
true
True if the trapdoor is currently open (may differ from powered).
poweredfalsefalse
true
True if the trapdoor is currently powered (may differ from open).
waterloggedfalsefalse
true
Whether or not there's water in the same place as this trapdoor.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
direction0x1
0x2
00
1
2
3
0
1
2
3
The direction the trapdoor is facing.
  • 0: Trapdoor on the west side of a block
  • 1: Trapdoor on the east side of a block
  • 2: Trapdoor on the north side of a block
  • 3: Trapdoor on the south side of a block
open_bit0x8falsefalse
true
0
1
True if the trapdoor is currently open.
upside_down_bit0x4falsefalse
true
0
1
Whether the trapdoor occupies the top or bottom part of a block.

Video

History

For changes that affect only specific types of trapdoors, see the "History" section in the respective pages (wooden, iron, and copper).

Java Edition Beta
1.6Test Build 3 Added trapdoors. At this time, only one type (wooden) is available.
Closed trapdoors always occupy the bottom of the block space.
Sound UpdateThe open and closing sounds of trapdoors have been changed.
Java Edition
1.4.212w34aTrapdoors can now be placed on the upper side of a block in addition to the lower side.
12w40aTrapdoors can no longer be opened by left-clicking, only right-clicking opens trapdoors now.
1.4.41.4.3Trapdoors can be placed on the sides of single slabs.
1.814w07a Added iron trapdoors.
1.915w31aTrapdoors no longer require attachment blocks.
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.
15w43aDue to the addition of new sound events, trapdoors no longer make any sounds when opened or closed, since the sound files are missing.
16w04aTrapdoors now have sounds again, which are now different from the door sounds.
1.1317w47a Trapdoors now come in all 6 types of wood.
18w10dTrapdoors can now be waterlogged.
1.1620w06a Added crimson and warped trapdoors.
1.1922w11a Added mangrove trapdoors.
1.19.3
Experiment
Update 1.20
22w42a Added bamboo trapdoors behind the "Update 1.20" experimental data pack.
1.19.4
Experiment
Update 1.20
23w07a Added cherry trapdoors behind the "Update 1.20" experimental data pack.
1.20.3
Experiment
Update 1.21
23w43a Added copper trapdoors behind the "Update 1.21" experimental data pack.
1.21.2
Experiment
Winter Drop
24w40a Added pale oak trapdoors.
Pocket Edition Alpha
v0.4.0 Added wooden trapdoors.
v0.12.1build 12Trapdoors can now be placed on the upper half of a block, opening downward, and can still be placed on the lower half, opening upward.
v0.13.0build 1 Added iron trapdoors.
v0.15.0build 1Trapdoors no longer require attachment blocks.
Bedrock Edition
1.4.0beta 1.2.14.2 Trapdoors now come in all 6 types of wood.
Water can now be placed in the same block as trapdoors.
1.16.0beta 1.16.0.51 Added crimson and warped trapdoors.
1.19.0beta 1.19.0.20 Added mangrove trapdoors.
1.19.50
Experiment
Next Major Update
Preview 1.19.50.21 Added bamboo trapdoors behind the "Next Major Update" experimental toggle.
1.19.80
Experiment
Next Major Update
Preview 1.19.80.20 Added cherry trapdoors behind the "Next Major Update" experimental toggle.
1.20.50
Experiment
Update 1.21
Preview 1.20.50.22 Added copper trapdoors behind the "Update 1.21" experimental toggle.
1.21.50Preview 1.21.50.20 Added pale oak trapdoors.
Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU1CU11.001.001.00Patch 11.0.1 Added wooden trapdoors.
TU9Trapdoors can be placed on the sides of single slabs.
TU25CU141.171.171.17 Added iron trapdoors.
TU46CU361.381.381.38Patch 15Trapdoors no longer require attachment blocks.
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.
TU69 1.761.761.76Patch 38 Trapdoors now come in all 6 types of wood.
New Nintendo 3DS Edition
0.1.0 Added two types of trapdoors: wooden and iron.

Issues

Issues relating to "Trapdoor" are maintained on the bug tracker. Issues should be reported and viewed there.

Gallery

References

  1. MC-11075 — Trapdoor Colliding With Player — resolved as "Won't Fix".
  2. MC-50556 — Mobs walk off open wooden and iron trapdoors or get trapped in them because they think they are closed — resolved as "Works As Intended".

External links

Navigation