About This Build

Experience points in Minecraft govern your ability to use enchanting tables at high levels, combine enchanted books in an anvil, and repair valuable tools without losing them. Running out of XP mid-enchanting session is genuinely punishing — you either grind zombies manually for 20 minutes or wait. A mob XP farm eliminates that problem by producing experience continuously while you do other things.

This dark-room design works by exploiting Minecraft's mob spawning mechanics. Mobs spawn only in darkness (light level 0) on solid surfaces. The spawn chamber is a large enclosed dark room that provides nothing but dark solid surfaces — mobs spawn continuously. Water sweep channels (2 blocks of flowing water meeting at a center channel) push mobs from the spawn pads into a central collection shaft. The shaft drops them to near-death (23 blocks for most mobs), and a kill chamber at the bottom lets you finish them with a single punch for maximum XP.

The distinction between "near-death" and "instant kill" is critical: letting the fall bring mobs to 1 heart, then killing them yourself, gives full XP. An instant-kill mechanism (lava, suffocation, fall to death) kills them before you can collect the XP. This farm intentionally keeps you in the loop for the XP collection step.

This is a Java Edition build. Bedrock Edition handles mob spawning mechanics differently and requires a modified approach — the water sweep timing and spawn-proofing logic are Java-specific.

Expect 45–60 minutes of construction. The farm pays for that time investment within the first hour of operation.

Edition: Minecraft Java Edition  |  Version: 1.20++  |  Time: 45-60 minutes

Difficulty: Advanced

This is an Advanced build. It demands solid familiarity with at least one of Minecraft’s complex systems — redstone timing, mob AI behavior, or intricate 3D spatial layout. Gather every material before placing the first block, and expect to debug. The payoff in automation, efficiency, or aesthetics is well worth the effort.

Materials You’ll Need

MaterialQuantity
Cobblestone128
Dark Block (Basalt or Coal Block)64
Water Bucket4
Hopper3
Chest2
Slab (any)8
Torch4
Trap Door (for kill slit)2

Total distinct materials: 8. Gather everything listed above before you start — mid-build supply runs break your momentum.

Step-by-Step Instructions

Step 1: Build the Outer Cobble Shell

Build a 7×7 cobblestone box, 5 blocks high. Use solid cobble for walls — no gaps or windows. This outer shell must be completely opaque to maintain zero internal light level, which is required for hostile mob spawning.

💡 Tip: Build the farm at least 128 blocks from your base (on the horizontal plane) so mobs do not despawn when you AFK at the kill chamber.

Step 2: Line Interior with Dark Blocks

Line the interior floor and ceiling of the spawn room with dark blocks (basalt, coal blocks, or any opaque dark material). This reduces light from outside seeping through block faces and ensures the spawn area stays at light level 0 — the requirement for mob spawning.

💡 Tip: Even one block of light level 1 reduces mob spawn rates significantly. Use F3 + B debug to check light levels inside the spawn chamber.

Step 3: Place the Mob Spawner (or Rely on Natural Spawning)

If using a spawner, place it in the center at height 3. Spawners activate within 16 blocks of a player. For natural spawning (no spawner), ensure the floor has at least 512 spawnable tiles (7×7 = 49 tiles per layer × multiple layers). Natural farms are larger but more versatile.

💡 Tip: Spawner-based farms are 3× faster than natural spawn farms because spawners ignore the spawn cap. Use a zombie or skeleton spawner for the best XP return.

Step 4: Install Water Sweep Channels

Along the first row of the interior floor, place water source blocks that flow toward a central drop hole. Mobs that spawn anywhere in the room get pushed by water currents toward the hole. Ensure every tile has a water current path leading to the drop.

💡 Tip: Water only flows 8 blocks. For larger rooms, use multiple converging water streams. Each stream must end at the drop hole — test with dirt blocks first.

Step 5: Build the Kill Chamber

Below the drop shaft, build a small 3×3 chamber. Place hoppers feeding into chests below to auto-collect drops. Add a trapdoor "kill slit" at mob head height so you can stand outside and hit mobs with one punch (they're at 1 HP from the fall).

💡 Tip: One-punch kills are critical for XP farming — you only get XP from landing the final hit. The kill slit keeps you safe while letting you finish off every mob.

Step 6: Test, Tune, and AFK

Stand at the kill slit and AFK for 15 minutes. You should see steady mob arrivals. If the farm is slow, check: light level in the spawn room (must be 0), proximity (must be within 16-24 blocks of spawner), and water flow (no dead spots). Loot accumulates in chests automatically.

💡 Tip: Level 30 enchants take about 3,315 XP. A well-built spawner farm provides this in under 10 minutes. Natural spawn farms take 20-30 minutes.

Tips & Tricks

Why This Design Works

Dark-room mob farms work because Minecraft's mob spawning algorithm looks for valid spawn positions: solid surface, light level 0, no player within 24 blocks (minimum), player within 128 blocks (maximum). The spawn chamber is engineered to maximize the number of valid spawn positions per cubic area.

The 2-block falling water sweep is more efficient than hoppers for mob transport. Hoppers require items — mobs are not items. Water pushes entities (mobs) physically, which is the correct mechanism for moving living mobs from spawn pads to the collection shaft. Two water source blocks at opposite ends of each row meet in the middle and push outward toward the center shaft — standard water-sweep physics.

The 23-block drop is calculated from mob health values. Zombies, skeletons, and creepers all have 20 health points. A 23-block drop deals exactly 19.5 damage, leaving them at 0.5 health (1 hit from death without armor). This is the maximum drop height that still leaves mobs alive. Anything shorter and some mobs survive the fall with multiple hearts remaining; anything longer and some die from the fall, forfeiting XP.

Spawn-proofing the surrounding area (lighting caves within 128 blocks) removes competing spawn positions that would reduce your farm's output. Mobs have a global spawn cap — every mob that spawns in an unlit cave nearby is a mob that didn't spawn in your farm.

Variations & Customization

Once you’ve completed the base build, try one of these modifications to make it your own:

Spawner-Based XP Farm

If you find a dungeon with a mob spawner, convert it instead of building a dark-room farm. Spawners have no light-level restrictions and produce specific mob types. Water-funnel the mobs from the spawner room into a drop shaft. Much faster to build, limited by the spawner's fixed location.

Bonus Loot Collection

Add hoppers and a double chest system below the kill chamber to collect loot drops (rotten flesh, bones, arrows, gunpowder) automatically. Run hoppers along the floor of the kill chamber feeding into a sorted chest system. Turns the farm into both XP and passive loot income.

AFK Auto-Kill Modification

Replace the manual kill step with a suffocation kill chamber using a piston that presses a block against the mob's head space. Use a hopper-based XP bottle collection instead of direct XP. Trades per-kill XP efficiency for fully AFK operation. Useful for grinding XP bottles while doing other tasks.

Common Mistakes & Troubleshooting

These are the issues players most often run into with this build:

⚠️ Not spawn-proofing nearby caves

Mobs have a global spawn cap. If there are unlit caves within 128 blocks, mobs spawn there instead of your farm. Light every cave in the area before expecting your farm to produce efficiently. This is the most common reason new farms underperform expectations.

⚠️ Standing too close to the spawn chamber

Mobs won't spawn within 24 blocks of the player. Your AFK position must be more than 24 blocks from the spawn pads and less than 128 blocks (where spawning stops). The kill chamber at the bottom of the drop shaft is usually the correct AFK position.

⚠️ Drop height too short

A drop shorter than 23 blocks leaves mobs with enough health that a single punch doesn't kill them. You'll spend 2-3 hits per mob, dramatically reducing throughput. Measure the drop distance exactly before adding the kill chamber.

⚠️ Spawn chamber not dark enough

Any light level above 0 in the spawn chamber prevents mob spawning on that surface. Check for light leaks from glowstone veins in surrounding stone, lava lakes nearby, or any torches you placed during construction and forgot. Use F3+B (Java) to check light levels on spawn surfaces.

⚠️ Using the farm before the surrounding area is lit

Walking to the farm while construction is incomplete and caves are unlit will cause mobs to fill the global spawn cap before you're ready. Fully spawn-proof the area first, then activate the farm.

Related Builds

If you enjoyed this guide, these builds complement it well:

From the Blog

How to Plan Your First Minecraft Base Layout

Before you build more structures like this one, plan where they fit. This room-by-room system prevents base sprawl.

Read the article →

Want more builds like this?

Get new step-by-step guides delivered to your inbox when we release new content.