How to Mob-Proof Your Base
A safe base is a math problem, not a fortress. Keep every surface at light level 8+cap your walls with a spider ledge, and seal the dark cave underneath. Do those three and zero hostiles spawn inside your perimeter.
Hostile spawns are gated entirely on light level. 0 = mobs spawn, 1-7 = still risky8+ = fully spawn-safe. Light every floor, ceiling and ledge to that line and the only way a mob reaches you is by walking in from outside, which the slabbed-and-lit perimeter shuts down. Spiders are the exception since they climb and ignore light, so the overhang ledge does the work lighting can't.
What each mob can do to a wall, and from how far
Mob proofing works backwards from two numbers: how far a mob notices you, and how fast it closes. The speed column is the one people ignore. A slime moves at 0.6 and a vex at 0.7, both faster than a walking player, while a silverfish crawls at 0.25 and a zombie at 0.23.
| Mob | Health | Hit damage | Movement speed | Follow range | XP |
|---|---|---|---|---|---|
| Phantom | 20 | 2 | 0.7 | 16 | 5 |
| Shulker | 30 | 2 | 0.7 | 16 | 5 |
| Ender Dragon | 200 | 2 | 0.7 | 16 | - |
| Vex | 14 | 4 | 0.7 | 16 | 3 |
| Breeze | 30 | 3 | 0.63 | 24 | 10 |
| Wither | 300 | 2 | 0.6 | 40 | 50 |
| Slime | 16 | 4 | 0.6 | 16 | query.last_hit_by_player ? query.variant : 0 |
| Guardian | 30 | 6 | 0.5 | 16 | 10 |
| Evoker | 24 | 2 | 0.5 | 12 | 10 |
| Ravager | 100 | 12 | 0.35 | 32 | 20 |
| Vindicator | 24 | 5 | 0.35 | 12 | 12 |
| Piglin | 16 | 5 | 0.35 | 16 | 5 |
| Hoglin | 40 | 6 | 0.3 | 16 | 5 |
| Enderman | 40 | 7 | 0.3 | 64 | 5 |
| Spider | 16 | 2 | 0.3 | 16 | 5 |
| Creeper | 20 | 2 | 0.25 | 16 | 5 |
| Silverfish | 8 | 1 | 0.25 | 16 | 5 |
| Witch | 26 | 2 | 0.25 | 16 | 12 |
| Skeleton | 20 | 2 | 0.25 | 16 | 5 |
| Blaze | 20 | 6 | 0.23 | 48 | 10 |
| Zombie | 20 | 3 | 0.23 | 35 | 5 |
| Drowned | 20 | 3 | 0.23 | 35 | 5 |
Quick answers
+What light level stops mobs spawning?
+Do torches still work for spawn-proofing?
+How do I stop spiders climbing my walls?
+Why do mobs still appear inside a fully lit base?
+Do I need to slab the whole area around my base?
+What about phantoms and creepers specifically?
+Which hostile mobs are faster than me?
+What actually keeps mobs out?
Blocks and items in this guide
All 7 of these are named in the guide above, starting with Sea Lantern. Look them up in the item database.