Minecraft wiki entry for Traps, associated text: Construct a hallway. A diagonal hallway works best. Fence posts should be underneath the path and you should drop the sand or gravel for the floor on the fences. Below the fences, you can have a pit.