Trapdoor

Από Minecraft Wiki
Μετάβαση σε: πλοήγηση, αναζήτηση
Trapdoor
Transparency

Yes

Luminance

No

Blast resistance

15 (Wooden)
25 (Iron)

Tools

This block can be broken with any tool, but an axe is the quickest

Renewable

Yes

Stackable

Yes (64)

Flammable

Iron: No
Wooden: No, but catches fire from lava

Drops

Itself

Data values

See Data values

Name

See Data values

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

Obtaining[επεξεργασία | επεξεργασία κώδικα]

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

Block
Wooden

Iron
Hardness 3 5
Tool

Breaking time[note 1]
Hand 4.5 25
Wooden 2.25 3.75
Stone 1.15 1.9
Iron 0.75 1.25
Diamond 0.6 0.95
Golden 0.4 0.65
  1. Times are for unenchanted tools in seconds.

Crafting[επεξεργασία | επεξεργασία κώδικα]

Name Ingredients Crafting recipe
Wooden Trapdoor Any Wood Planks
Iron Trapdoor Iron Ingot











Natural Generation[επεξεργασία | επεξεργασία κώδικα]

A wooden trapdoor may be found leading to igloo basements.

Usage[επεξεργασία | επεξεργασία κώδικα]

See also: Trapdoor uses

Properties[επεξεργασία | επεξεργασία κώδικα]

Wooden trapdoors can be opened and closed by players. Iron trapdoors can only be opened with redstone power.

Trapdoors must be "attached" to a block to the side of them. To place a trapdoor, use a trapdoor item while pointing at the block it should be attached to.

When placed, a trapdoor will either occupy 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 will open downwards. If placed on the bottom part of a block, it will open upwards.

A trapdoor's "hinge" will be on the block it was attached to.

Trapdoors can be moved by pistons. Water and lava will flow around trapdoors. Lava can create fire in air blocks next to wooden trapdoors as if they were flammable, but the trapdoors will not burn up (and can't be burned by other methods either).

An open trapdoor may be climbed like a ladder if it is directly above a ladder and on the same side of the block.

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 will stop 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.

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 only be opened with redstone power (a button, a redstone circuit, etc.).

Mobs pathfinding considers trapdoors to always be closed, whether they are open or not. This often result in mobs falling through open trapdoors.

Redstone component[επεξεργασία | επεξεργασία κώδικα]

Both wood and iron trapdoors can be controlled with redstone power.

A trapdoor is a redstone mechanism and can be activated by:

When activated, a trapdoor will immediately "rotate" around its hinge side to its open state. When deactivated, a trapdoor immediately returns to its closed state.

An activated wood trapdoor can still be closed by a player, and won't 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.

Data values[επεξεργασία | επεξεργασία κώδικα]

A trapdoor is defined by its ID and block data. A trapdoor also has a block state, which is expected to replace the functionality of block data in a future version.

ID[επεξεργασία | επεξεργασία κώδικα]

A trapdoor's ID specifies its material:

Name ID Name Block/Item ID
Wooden Trapdoor minecraft:trapdoor 96
Iron Trapdoor minecraft:iron_trapdoor 167

Block data[επεξεργασία | επεξεργασία κώδικα]

See also: Data values

A trapdoor's block data specifies its orientation, positioning, and activation status:

Bits Values
0x1
0x2

A two-bit field storing a value from 0 to 3:

  • 0: Trapdoor on the south side of a block
  • 1: Trapdoor on the north side of a block
  • 2: Trapdoor on the east side of a block
  • 3: Trapdoor on the west side of a block
0x4 If this bit is set, the trapdoor is open.
0x8 If this bit is set, the trapdoor is on the top half of a block. Otherwise, it is on the bottom half.

Block state[επεξεργασία | επεξεργασία κώδικα]

See also: Block states
Name Value Description

 facing
north
south
east
west
The direction the trapdoor swings open.
The opposite from the side its hinge is attached to.

 half
top
bottom
Whether the trapdoor is against the bottom or the top of the block it occupies.

 open
true
false
If true, the trapdoor is open.

Video[επεξεργασία | επεξεργασία κώδικα]

History[επεξεργασία | επεξεργασία κώδικα]

Beta
1.6Added wooden trapdoors.
1.8Before this update, dropped trapdoor items looked larger than most other blocks, a bug shared with cactus.
Sound UpdateTrapdoor opening and closing sounds changed.
Official release
1.4.212w34aTrapdoors can 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.
1.814w07aAdded iron trapdoors.
14w08aIron trapdoor's name corrected from 'tile.ironTrapdoor.name' to 'Iron Trapdoor'.
Trapdoor's name was changed to “Wooden Trapdoor”.
1.915w31aTrapdoors no longer require attachment blocks.
An open trapdoor may be climbed like a ladder if it is directly above a ladder and on the same side of the block.
15w43aA trapdoor has a 50% chance of generating under igloo carpets, leading to a basement.
Pocket Edition Alpha
0.4.0Added wooden trapdoors. They were only available in creative mode
0.5.0Added crafting recipe for wooden trapdoors.
0.12.1build 12Trapdoors can be placed on the upper half of a block, opening downward, and can still be placed on the lower half, opening upward.
0.13.0build 1Added iron trapdoors.
0.15.0build 1Trapdoors no longer require attachment blocks.
Console Edition
TU1Patch 1Added 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.
1.0Added trapdoors to PlayStation 3.
CU11.00Added trapdoors to Xbox One, PlayStation 4, and PlayStation Vita.
TU25CU141.17Added iron trapdoors.
TU46CU361.38Patch 15Trapdoors no longer require attachment blocks.

Issues[επεξεργασία | επεξεργασία κώδικα]

Issues relating to “Trapdoor” are maintained on the issue tracker. Report issues there.

Gallery[επεξεργασία | επεξεργασία κώδικα]