Using this minecraft redstone schematic, you can add traps in minecraft that will go off when you stand on top of them! Rogueclownfish has made traps from Pixel Dungeon and ported them into minecraft.
S737 sets traps using lucky blocks to defeat enemies in Minecraft.