đĒ Trapdoor Block
Trapdoor Block is a hinged panel that opens and closes. It can be toggled by hand, redstone, or wind charges.
- By hand: right-click opens/closes it.
- By redstone: a neighbor signal flips it open, cutting the signal flips it closed.
- By wind charge: a wind charge hitting the trapdoor toggles it.
On placement, the trapdoor auto-detects redstone and water â it opens if powered and waterlogs if placed in water.
| Property Name | Property Type | Required |
|---|---|---|
| open | boolean | yes |
| powered | boolean | yes |
| half | single_block_half | yes |
| facing | horizontal_direction | yes |
| waterlogged | boolean | no |
Exampleâ
blocks:
default:palm_trapdoor:
behavior:
type: trapdoor_block
can_open_with_hand: true # allow right-click to toggle (default true)
can_open_by_wind_charge: true # allow wind charges to toggle (default true)
sounds:
open: block.wooden_trapdoor.open # sound played when opening (optional)
close: block.wooden_trapdoor.close # sound played when closing (optional)
