A Minecraft mob farm is the single biggest quality-of-life upgrade in survival: free XP for enchanting and Mending repairs, stacks of bones and string, gunpowder for rockets and TNT, and a steady supply of rotten flesh for villager trades. This guide walks through three farm designs — a beginner dark-room drop tower, a spawner XP farm, and a high-rate skyblock-style tower — with the exact spawn mechanics that make them actually work.
Most failed mob farms fail for the same three reasons: the player isn't inside the 128-block sphere, nearby caves aren't lit so mobs spawn there instead, or the spawn platform has a light leak. Fix those three things and any farm in this guide will print mobs as fast as the game allows.
How mob spawning actually works in 2026
Before you place a single block, you need to understand four numbers. Every mob farm in the game is built around them.
- **Light level.** Hostile mobs spawn at light level 0 on Java Edition (1.18+) and 0–7 on Bedrock. Torches and glowstone kill spawning — you want pitch black under a roof or slabs.
- **Spawn block.** Mobs need an opaque, full block with 2 blocks of air above. Slabs, glass, leaves and stairs block spawning, which is why slab roofs are standard.
- **Player distance.** Mobs only spawn 24+ blocks from the player but inside a 128-block sphere. Inside 24, mobs despawn instantly; outside 128, they never spawn.
- **Mob cap.** The game allows ~70 hostile mobs per player inside that 128-block sphere. Hit the cap and spawning stops anywhere — that's why you light up caves.
Build #1 — The simple dark-room mob farm (Beginner, 1 hour)
This is the farm to build the first night you have a stack of cobblestone. It works in any biome, on any difficulty, and produces ~30–40 mobs/min once you AFK above it. Bones, string, gunpowder, arrows, rotten flesh — all of it in one chest.
Materials
- ~3 stacks of cobblestone (or any solid block)
- 1 stack of slabs (for the roof — stops spawning on top)
- 4 water buckets
- 2 signs (to hold the water at the drop)
- 1 hopper + 1 chest
- 1 trapdoor (for the kill slot)
Step-by-step build
- Pick a spot in the **Overworld at sky level or higher**. Spawning rates double when the only nearby spawnable blocks are your farm.
- Build a **9×9 platform** at least 25 blocks up in the air. Wall it in 3 blocks high.
- Place water in the four outer corners flowing toward the center. The streams should meet at the middle hole.
- Cut a **1×1 hole** in the center floor — this is your drop shaft.
- Cover the whole 9×9 with **slabs** (top half) so nothing spawns on the roof.
- Dig the drop shaft **22 blocks down**. Mob fall damage is 1 heart per block past 3, so 22 blocks leaves a zombie/skeleton on half a heart — perfect for one-shot XP.
- At the bottom, place a **hopper feeding a chest**, then break the block in front of the hopper so you can stand there and punch mobs through a trapdoor (or use a half-slab so they fall to a one-block kill slot).
- Light up **every cave within 128 blocks** below and around the farm — Spectator mode or a /fill light command helps.
Build #2 — The spawner XP farm (Mending repair machine)
Found a zombie or skeleton spawner in a dungeon? Don't break it. A single spawner produces ~80 mobs/min — enough to repair every Mending tool you own in one AFK session, and it works at any time of day.
Materials
- A monster spawner (zombie, skeleton, or cave spider — leave it intact)
- ~2 stacks of any solid block
- 4 water buckets
- 2 signs
- 1 hopper + 1 chest
- Torches (you'll remove them once the room is sealed)
Step-by-step
- Light the spawner with torches while you work — it stops spawning so you can build safely.
- Hollow out a **9×9×4** room with the spawner in the **exact center** (1 block from floor, 4 blocks from ceiling). The spawn box is 9×9×3 around the spawner.
- Add **water streams from each corner** flowing toward one side, then a **22-block drop** to a 1×1 kill slot — same as Build #1.
- Place a **hopper** feeding a chest at the bottom.
- Remove all torches and **seal the room** — the spawner needs light level 0 to spawn.
- Stand below the drop and pre-damage mobs with your fist. Use a Looting III sword for max bones/string, or a Mending sword to bank XP-to-durability.
Build #3 — High-rate skyblock tower (Endgame, ~150 mobs/min)
If you can get 128+ blocks above the ocean (or use a peaceful biome trick), nothing else can compete with the mob cap and you'll see 3–5× the spawn rate of the simple build. This is the design every speedrunner uses for gunpowder.
- Same 9×9 spawn platform as Build #1, but stack **4 platforms vertically** with a 3-block gap between each (32 spawnable squares × 4 = 4× the spawn area).
- All four floors funnel into a **central water elevator** (soul sand + signs) that lifts mobs up, then a single 24-block drop into the kill chamber.
- AFK platform sits **25 blocks above the highest spawn floor** — that puts you outside 24 from every floor and inside 128 from all of them.
- Build over the ocean or above the void in skyblock so there are zero competing spawnable blocks within the 128-sphere.
AFK spot — the math that doubles your rates
The single biggest mistake new players make is standing too close or too far. Here's the exact rule:
- **Minimum distance:** 24 blocks from every spawnable block in the farm. Closer than that, mobs despawn the instant they spawn.
- **Maximum distance:** 128 blocks from every spawnable block. Farther, they never spawn at all.
- **Best practice:** build the AFK platform exactly **25 blocks directly above** the spawn floor. That's 24+ from every block in the platform and well inside 128.
Lighting up caves — the step nobody talks about
Even a perfect farm produces nothing if 60 mobs are sitting in a cave under your base eating the mob cap. Three options:
- **Manual lighting** — walk every cave within 128 blocks and place torches every 7 blocks. Tedious but free.
- **Light suppression blocks** — in creative testing or with cheats, fill caves with `/fill ~ ~ ~ ~128 ~128 ~128 minecraft:light[level=15] replace minecraft:air` (use sparingly).
- **Build over the ocean** — the easiest fix. Ocean has almost no spawnable surface, so the mob cap is yours.
Drops, rates and what to do with everything
- **Bones** → bone meal for crops, white dye, or trade with cleric villagers (see the villager trades guide).
- **String** → wool with 4 string, fishing rods, scaffolding, bows.
- **Gunpowder** → fireworks for elytra flight, TNT for tunneling, splash potions (see the potion brewing guide).
- **Rotten flesh** → leather-worker villager trades 32 rotten flesh for 1 emerald — a huge emerald pipeline.
- **Arrows** → infinite arrows once your skeleton farm runs; combine with a Power V Infinity bow and ammo never matters again.
- **XP** → run mobs to half-heart and one-punch them. The XP Calculator shows exactly how many mobs per level 30.
Troubleshooting — why your farm isn't spawning
- **Zero mobs spawning** → check light levels with F3 (Java). Anything above 0 stops Java spawning. Replace any leaking torch or sky-exposed gap.
- **Mobs spawn but don't drop** → water current is broken. Place a sign one block above the drop hole to hold water in place.
- **Slow rates** → caves under your base are eating the mob cap. Build over ocean, or light a 128-block radius.
- **Mobs survive the fall** → wear no armor when punching (knockback resistance from armor breaks the one-shot), and confirm the drop is exactly 22 blocks (not 21 or 23).
- **Only works at night** → you didn't fully seal the roof. Use top-half slabs on the entire 9×9 plus a 3-block wall, and check for sky-exposed cracks.
Which farm should you build first?
- **New world, no gear** → Build #1 (simple dark room). 1 hour, no rare resources, immediate string/gunpowder/bones.
- **Found a dungeon** → Build #2 (spawner farm). Highest XP/minute in the game; perfect for the Mending grind.
- **Late game, full netherite** → Build #3 (sky tower). Stacks of gunpowder per AFK session for rocket fuel.
Once your farm is running, plan the next builds with the House Planner, grab gear loadouts from the enchantments guide, and use the Command Generator to /fill light caves you don't want to manually torch.




