Minecraft wiki entry for Defense, associated text: This is a bridge that can be toggled to let the player in and to keep hostiles out. You will need a standard ditch or moat, a half stack or so of any opaque block, and enough trapdoors to cross over your ditch twice. The blocks should be placed like so: