Minecraft wiki entry for Traps, associated text: You eat the cake, you explode! In this trap when you eat the cake, the observer senses the update in the cake and ignites the TNT. 1) Dig down 2 blocks. 2) Place TNT at the bottom. 3) On top of the TNT place an observer pointing up. 4) On top of the observer place cake.