I was playing minecraft one day, and I was wondering if there was any good method to protecting my house automatically (While not using Golems!) from angry mobs. Is there any way to install a system that protects my house from evil baddies?

  • with or without mods?
    – Rapitor
    Jun 4, 2014 at 17:45
  • There are several ways, many will be more or less practical based on your biome. Example, planting cactus all around will help prevent spiders climbing walls (ideal for sandy areas), planting sugar cane will prevent archer arrows, and having a pit around your house can trap other mobs (ideal for flatter areas). The hardest mob to protect against is likely going to be endermen who can teleport, though they do tend to avoid water (if you've ever seen them going crazy when it rains). Eric mentioned a lava moat, though if you live in the forest all the trees might burn down.
    – Batophobia
    Jun 4, 2014 at 18:05
  • @Batophobia This sounds like it should be an answer. Jun 4, 2014 at 19:32
  • @DatEpicCoderGuyWhoPrograms Very well. I expanded on it a bit.
    – Batophobia
    Jun 4, 2014 at 20:34
  • @Rapitor Whichever works best
    – Sparow
    Jun 5, 2014 at 12:35

2 Answers 2


This question is fairly broad. Home security is going to need several different pieces to deal with the different behaviors of the different mobs. Additionally, if you care about the defenses "fitting in" to the overall look of your home/biome, then some solutions may not be acceptable. Furthermore, some biomes can have more options, for example deserts can take advantage of the sand and it's obeying gravity. Despite those, here are some suggestions.

General guidelines
The best way to prevent spawning monsters is to light the place up.

the light level of the spawning block must be 7 or darker

Another good way to prevent monsters from coming close is to put a fence around your land. Spiders can climb fences and Endermen have a chance of teleporting, but other mobs will be stuck. However, skeletons can shoot over the fence.

Yet another option would be to build upward. Make your main level a couple blocks above the ground and bring the outer walls down. This way mobs are stuck below your door without falling into anything.

Alternatively, you can just dig a trench that enemies cannot jump out of. Or even make one deep enough that the fall damage kills the enemies. The damage formula is (# blocks) - 3 = damage

Additionally, redstone can make for some creative solutions to protecting your home. With the addition of the daylight sensor you can even have defenses only active at night.

Spiders can climb walls, so we need to figure out how to stop that. Spiders cannot climb over signs. You could also include a lip or ladder at the top of the wall. Since spiders are 2 wide and 2 long, planting cactus around your house will damage spiders as well, though I believe you need to add extra to the top if you want to fully kill it before it crosses the top.

Skeletons shoot arrows. Sugar cane used to be able to block projectiles, but that has been patched. You can use glass in your windows to avoid taking damage inside your house. To avoid them reaching your house, you can use a ditch or moat similar to zombie/creeper defenses.

Endermen hate water (and lava), though they are normally neutral. If you can cover spaces around your house with water, that can help prevent them from teleporting near. They also require and area 3 blocks tall, so having a roof can prevent their teleporting/spawning.

Creepers hate cats, cannot destroy obsidian, and do not damage blocks when in water.

Witches are kind of like smarter zombies. When damaged, they try to heal. When under water, they drink potion of water-breathing. When on fire, they drink potion of fire resistance. They also use splash potions as weapons, making them ranged enemies. Best option here is probably to just use a ditch and get them stuck.

Zombies come in many shapes and sizes. Some can even fit through a 1 block hole. To defend against them, you can have a moat of that directs them away from your door, have a moat of lava that kills them, or have a pit that traps them.

Slime is unlikely to be bothering you, but if you have some problems with them they can mostly be dealt with similar to zombies.

  • one thing about slimes, the most likely place to find slimes and witches is swamps, so if you avoid building near a swamp, that would take care of those two mobs
    – jc3833
    Jun 4, 2014 at 23:28
  • 2
    @jc3833 Witches now spawn regularly at night. Which is really annoying. Jun 5, 2014 at 2:02

Lava around your house works for zombies a lot of the time.

  • 1
    While this is certainly a solution, we often prefer answers to be more detailed. Could you please expand your answer by including things such as distance to the house, depth, etc.?
    – MBraedley
    Jun 4, 2014 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .