Minecraft wiki entry for Safe_home, associated text: (Note: The cactus has to be on sand. Under the sand, place a blast resistant block like obsidian. If you mine below it, the obsidian warns you not to dig up) or an alternating row of cacti and flames from netherrack to keep mobs from passing through it.