Tutorials/Safe home

Since various there are various Sources of danger to your buildings and yourself, being in them, here are the most common techniques to counter them.

Lava and water
When you extend your base, be sure that nothing fragile like torches or redstone circuits are on the floor in the area, since water can break such things away. If you are unlucky, you can also be washed away (like, into an abyss) or drown.

Lava flows slower, but is much more hazardous, as it sets you and your wooden properties on fire!

Sand and gravel
“Built on sand” is a real life saying which means “This won’t last long”. This is true in Minecraft, too.

If you have a floor of sand or gravel, be careful when mining, it could collapse. Horror scenario: You collapse a sand column supporting a torch in your home, and when you come back, a creeper awaits you, which spawned in the darkness…

If you instead discover a natural cave with a roof of sand or gravel, be extra careful. Even if you don’t choose it to become your new home, as soon as you place or remove a block next to it, it will remember gravity and fall down, suffocating you, flooding the cave with lava or water and/or allowing mobs to come in from the dark cave/night above.

General

 * Use a fence or a wall to keep all mobs except spiders off your lawn.
 * Use a cactus fence built from two rows of cacti (like this: ▞▞▞▞) or an alternating row of cacti and flames from netherrack to keep mobs from passing through it.
 * Build a ditch with is deep enough the mobs who fell in can’t get out anymore, which is either filled with lava or streaming water leading to a mob grinder.[TODO: Create an actual Tutorials/Mob grinder page]

Creepers
The single most dangerous mob towards your buildings is the creeper, which can effectively blow large holes in your structures.

Since it explodes when being 1 block away from you and can look through walls, build your base above or below ground level or use 2 blocks thick walls.

Obsidian is explosion-proof, so you can laugh at the face of creepers trying to destroy walls built of this stone.

Spiders
Spiders are two blocks wide (which is good!) and can jump 2-3 blocks wide. Since Beta 1.2, spiders can also climb walls and fences, so you won’t be safe in your walled garden anymore.

To effectively spider-prove your buildings, you’ll have to do one of these things:
 * 1) Build a lipped wall (a wall with overhang, mostly at the top. ▛ and▐▞ are common wall-top profiles)
 * 2) Build a cactus fence. This just requires one row of cacti, because while cacti can’t be placed next to each other, spiders are two blocks wide. Use the method in the  section for a version which works on other mobs too. (If you prefer a wall for keeping off all other mobs, you can use this cactus fence)
 * 3) Make the ditch from the  section 3 blocks wide to prevent spiders from jumping over it.