Trapdoor

From Box of Rocks WIKI
Revision as of 13:13, 13 May 2021 by BoxWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Trapdoor
Renewable

Yes

Stackable

Yes (64)

Tools

Blast resistance

3 (Wooden)
5 (Iron)

Hardness

3 (Wooden)
5 (Iron)

Luminant

No

Transparent

Yes

Flammable

No

Catches fire from lava

Wood: Yes Iron: No

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

Obtaining

Breaking

Wooden trapdoors can be mined with anything, but an axe is fastest. Iron trapdoors require a pickaxe to mine. Trapdoors remain in place if their attachment block is moved, removed, or destroyed.

Block Wooden Iron
Hardness 3 5
Tool
Breaking time[FN 1]
Default 4.5 25
Wooden 2.25 3.75
Stone 1.15 1.9
Iron 0.75 1.25
Diamond 0.6 0.95
Netherite 0.5 0.85
Golden 0.4 0.65
  1. Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.


Natural generation

Oak

Oak trapdoors generate as part of:


Spruce

Spruce trapdoors generate as part of:


Birch

Birch trapdoors generate as part of:


Jungle

Jungle trapdoors generate as part of:


Dark Oak

Dark oak trapdoors generate as part of:

Crafting

Name Ingredients Crafting recipe
Wooden Trapdoor Matching Planks
Iron Trapdoor Iron Ingot

Usage

See also: Trapdoor uses

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, 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.

Trapdoors can be moved by pistons. Trapdoors block flowing water and lava. Waterlogged trapdoors release water from all sides apart from the top‌[Bedrock Edition only] or all sides apart from the side that is blocked by the trapdoor itself (and the top)‌[Java Edition only] 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‌[Java Edition only]. 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‌[Java Edition only]. In Bedrock Edition, lanterns can't be placed either under or on top of trapdoors. This could potentially be known as a bug or the functionality of placing lanterns under trapdoors aren't available as part of the game yet. The same goes for other decorative blocks (flowerpots, torches, and etc.).

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

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 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 In Bedrock Edition.

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.

To open or close a wooden trapdoor, use the Use Item/Place Block 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:

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

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" sound.

Sounds

Generic

Iron

Template:Sound table/Block/Metal

Wood

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
File:Wood dig1.oggFile:Wood dig2.oggFile:Wood dig3.oggFile:Wood dig4.oggBlock brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggNone[sound 1]BlocksFalling on the block with fall damageblock.wood.fallNone[sound 1]0.50.7516
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggBlock breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
File:Wood dig1.oggFile:Wood dig2.oggFile:Wood dig3.oggFile:Wood dig4.oggBlock placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggFootstepsBlocksWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016

Bedrock Edition:

SoundSourceDescriptionNamespaced IDVolumePitch
?BlocksOnce the block has brokendig.wood1.00.8
?BlocksFalling on the block with fall damagefall.wood0.41.0
?BlocksWhile the block is in the process of being brokenhit.wood0.230.5
?BlocksJumping from the blockjump.wood0.121.0
?BlocksFalling on the block without fall damageland.wood0.181.0
?BlocksWalking on the blockstep.wood0.31.0
?BlocksWhen the block is placeduse.wood1.00.8

Unique

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
File:Iron trapdoor close1.oggFile:Iron trapdoor close2.oggFile:Iron trapdoor close3.oggFile:Iron trapdoor close4.oggTrapdoor closes??block.iron_trapdoor.closesubtitles.block.iron_trapdoor.close??16
File:Iron trapdoor open1.oggFile:Iron trapdoor open2.oggFile:Iron trapdoor open3.oggFile:Iron trapdoor open4.oggTrapdoor opens??block.iron_trapdoor.opensubtitles.block.iron_trapdoor.open??16
File:Wooden trapdoor close1.oggFile:Wooden trapdoor close2.oggFile:Wooden trapdoor close3.oggTrapdoor creaks??block.wooden_trapdoor.closesubtitles.block.trapdoor.toggle??16
File:Wooden trapdoor open1.oggFile:Wooden trapdoor open2.oggFile:Wooden trapdoor open3.oggFile:Wooden trapdoor open4.oggFile:Wooden trapdoor open5.oggTrapdoor creaks??block.wooden_trapdoor.opensubtitles.block.trapdoor.toggle??16

Data values

ID

Java Edition:

NameNamespaced IDBlock tags (JE)Item tags (JE)FormTranslation key
Iron Trapdooriron_trapdoortrapdoorstrapdoorsBlock & Itemblock.minecraft.iron_trapdoor
Oak Trapdooroak_trapdoortrapdoors
wooden_trapdoors
trapdoors
wooden_trapdoors
Block & Itemblock.minecraft.oak_trapdoor
Spruce Trapdoorspruce_trapdoortrapdoors
wooden_trapdoors
trapdoors
wooden_trapdoors
Block & Itemblock.minecraft.spruce_trapdoor
Birch Trapdoorbirch_trapdoortrapdoors
wooden_trapdoors
trapdoors
wooden_trapdoors
Block & Itemblock.minecraft.birch_trapdoor
Jungle Trapdoorjungle_trapdoortrapdoors
wooden_trapdoors
trapdoors
wooden_trapdoors
Block & Itemblock.minecraft.jungle_trapdoor
Acacia Trapdooracacia_trapdoortrapdoors
wooden_trapdoors
trapdoors
wooden_trapdoors
Block & Itemblock.minecraft.acacia_trapdoor
Dark Oak Trapdoordark_oak_trapdoortrapdoors
wooden_trapdoors
trapdoors
wooden_trapdoors
Block & Itemblock.minecraft.dark_oak_trapdoor
Crimson Trapdoorcrimson_trapdoornon_flammable_wood
trapdoors
wooden_trapdoors
non_flammable_wood
trapdoors
wooden_trapdoors
Block & Itemblock.minecraft.crimson_trapdoor
Warped Trapdoorwarped_trapdoornon_flammable_wood
trapdoors
wooden_trapdoors
non_flammable_wood
trapdoors
wooden_trapdoors
Block & Itemblock.minecraft.warped_trapdoor

Bedrock Edition:

NameNamespaced IDNumeric ID FormTranslation key
Iron Trapdooriron_trapdoor167Block & Itemtile.iron_trapdoor.name
Oak Trapdoorwooden_trapdoor96Block & Itemtile.wooden_trapdoor.name
Spruce Trapdoorspruce_trapdoor404Block & Itemtile.spruce_trapdoor.name
Birch Trapdoorbirch_trapdoor401Block & Itemtile.birch_trapdoor.name
Jungle Trapdoorjungle_trapdoor403Block & Itemtile.jungle_trapdoor.name
Acacia Trapdooracacia_trapdoor400Block & Itemtile.acacia_trapdoor.name
Dark Oak Trapdoordark_oak_trapdoor402Block & Itemtile.dark_oak_trapdoor.name
Crimson Trapdoorcrimson_trapdoor501Block & Itemtile.crimson_trapdoor.name
Warped Trapdoorwarped_trapdoor502Block & Itemtile.warped_trapdoor.name

Metadata

See also: Data values

In Bedrock Edition, a trapdoor's block data specifies its orientation, positioning, and activation status:

Template:/DV

Block states

See also: Block states

Template:/BS

Video

History

Java Edition Beta
1.6Test Build 332px 32px 32px 32px 32px Added wooden trapdoors.
Closed trapdoors always occpuy the bottom of the block space.
1.732px Trapdoors now use the bottom part of the texture on the sides.
1.8Pre-releaseBefore this update, dropped trapdoor items looked larger than most other blocks, which was a bug that was shared with the cactus and several other items.
Sound UpdateThe open and closing sounds of trapdoors have been changed.
Unknown
?Trapdoors can be placed on slabs.
Java Edition
1.0.0Beta 1.9 Prerelease 6Trapdoors are broken faster using an axe.
1.4.212w34a32px Trapdoors can now be placed on the upper half of a block, opening downward, and can still be placed on the lower half, opening upward.
12w40aTrapdoors can no longer be opened by left-clicking, only right-clicking opens trapdoors now.
August 8, 2014Ryan Holtz indicated that trapdoors for all types of wood were discussed internally, and agreed to.
1.814w07a32px 32px 32px 32px 32px 32px Added iron trapdoors.
14w08aIron trapdoor's name has been corrected from "tile.ironTrapdoor.name" to "Iron Trapdoor".
The name of the regular trapdoor has been changed to "Wooden Trapdoor".
14w10a32px 32px 32px 32px 32px 32px
32px 32px 32px 32px 32px 32px The side textures of iron and wooden trapdoors have been mirrored vertically.
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.
15w43aA wooden trapdoor now has a 50% chance of generating under igloo carpets, leading to a basement.
April 26, 2017Jeb stated that trapdoors for all types of wood were still on the to-do list.
1.1317w47a32px 32px 32px 32px 32px Trapdoors now come in all 6 types of wood.
Trapdoors have been renamed to <wood type> trapdoor.
The ID of the oak trapdoor has been changed from trapdoor to oak_trapdoor.
Prior to The Flattening, these blocks' numeral IDs were 96 and 167.
18w10dWater can now be placed on the same block as trapdoors.
1.1418w43a32px 32px The textures of oak and iron trapdoors have been changed.
18w47b32px The texture of spruce trapdoors have been changed.
18w48aOak trapdoors now generate in the updated plains villages.
18w50aJungle and spruce trapdoors now generate in the updated desert and taiga villages.
1.1620w06a32px 32px Added crimson and warped trapdoors.
Pocket Edition Alpha
v0.4.032px Added wooden trapdoors.
Wooden trapdoors are currently available only in creative mode.
v0.5.0Added a crafting recipe for 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 132px Added iron trapdoors.
v0.15.0build 1Trapdoors no longer require attachment blocks.
Pocket Edition
1.0.0alpha 0.17.0.1A wooden trapdoor now has a 50% chance of generating under igloo carpets, leading to a basement.
Bedrock Edition
1.4.0beta 1.2.14.232px 32px 32px 32px 32px Trapdoors now come in all 6 types of wood.
Water can now be placed in the same block as trapdoors.
Trapdoor now generate in shipwrecks.
1.10.0beta 1.10.0.332px 32px 32px The textures of oak, spruce and iron trapdoors have been changed.
Oak trapdoors now generate in the new plains villages.
Spruce trapdoors now generate in the new taiga and snowy taiga villages.
1.16.0beta 1.16.0.5132px 32px Added crimson and warped trapdoors.
1.16.20beta 1.16.20.50Crimson and warped trapdoors now uses regular plank sounds instead of their stem variant sounds.
Legacy Console Edition
TU1CU1 1.00 Patch 11.0.132px Added wooden trapdoors.
TU9Trapdoors can be placed on the upper half of a block, opening downward, and can still be placed on the lower half, opening upward.
TU25CU14 1.17 Template:Inventory icon Added iron trapdoors.
TU46CU36 1.38 Patch 15Trapdoors no longer require attachment blocks.
TU69 1.76 Patch 3832px 32px 32px 32px 32px Trapdoors now come in all 6 types of wood.
1.90 32px 32px 32px The textures of oak, spruce and iron trapdoors have been changed.
New Nintendo 3DS Edition
0.1.032px 32px Added trapdoors.

Issues

Issues relating to "Trapdoor" are maintained on the bug tracker. Report issues there.

Gallery

References

  1. MC-11075 – "Trapdoor Colliding With Player" resolved as "Won't Fix"

cs:Poklop de:Falltür es:Trampilla fr:Trappe it:Botola ja:トラップドア ko:다락문 nl:Valluik pl:Klapa pt:Alçapão ru:Люк th:ประตูกับดัก zh:活板门