Anti-mob houses in Minecraft? [duplicate]

What are good defenses for a house in Minecraft? I know cactuses work well. Anything else?


Anti-Mob House

General

  • Don't build out of wood
  • Use a fence or a wall to keep all mobs except spiders and spider jockeys off your lawn
  • You can create Iron Golems to defend your territory
  • Use a cactus fence built from two rows of cacti, like this:

    A C A C
    C A C A

A - Air C - Cactus (view from the top)

  • Build a ditch deep enough that the mobs who fall in can’t get out anymore, which is either filled with lava or streaming water
  • Keep your home area well lit. Mobs only spawn if the light level is below 7
  • Mobs don't spawn on water
  • A door made of pistons keeps you hidden from mobs almost all the time

Anti Creepers

  • Build a wall at least two full blocks tall
  • Build your home sufficiently lit
  • Two block thick cobblestone will resist most explosions.
  • Obsidian is explosion-proof
  • Cats are a good defense, as creepers will run away if they are in a short distance of one.

Anti Spiders

  • Build a lipped wall, this lip can have 1-block wide gaps in it, since spiders require a 2 block wide space to climb
  • Fences can also work as a wall-top
  • Completely cover it with a roof
  • Dump buckets of lava around your house
  • Build your buildings underground. As long as the entrance to the underground building is only 1 block wide and/or completely enclosed with trapdoors, no Spiders will be able to get in
  • You can keep spiders from climbing walls using glass panes/iron bars to create an edge

    C
    G
    C
    C

C - Cobblestone G - Glass pane

Anti Skeletons

  • Fill open gaps with any of certain translucent blocks such as slabs, fence or glass to make windows
  • Build low walls or fences in places where you may be in range of a skeleton, since they will only fire arrows at you if they can see you.

Spider Jockeys

  • Combine your defensive strategies for both skeletons and spiders

Zombies

  • Walls or pits will be enough to keep them at bay
  • If you're in hard, you can make a piston door so that zombies cannot get through
  • Iron door with a button on each side
  • Zombies will not jump over gaps, so you can use lava trenches
  • You can also use traps such as pits, landmines