A dark-room mob tower is the most broadly useful early-to-mid-game XP farm: no special biome, no village, no Nether access required. Build a stack of fully dark enclosed floors, funnel spawned mobs to a central drop, and a fall of roughly 22-23 blocks brings most common mobs to near-death. One hit each gives XP, and a Looting sword multiplies gunpowder, string, bones, and arrows on top. The mob cap (around 70 hostiles) fills with your farm's spawns if you clear competing caves and dark surfaces nearby.

This is a complete guide to the mechanic and a minimal working design, version-pinned to Minecraft 26.2 Java Edition.

Tested on: Minecraft 26.2, Java Edition, vanilla survival. Mechanics described are documented behavior; rates depend entirely on your build's total dark spawnable area, cave spawn-proofing, and AFK placement. Measure your own setup rather than copying a number from a video.

How hostile mob spawning works in 26.2

The rules that govern a dark-room farm:

Light level 0. Since the 1.18 lighting rework, hostile mobs in the overworld require a block light level of 0 to spawn. Sky light no longer counts. A fully enclosed dark room with no light source satisfies this, even at surface elevation. One torch or gap in the wall is enough to raise the block light above zero and kill spawning on that floor.

Valid spawn surface. The game needs the top face of a solid full block with at least two blocks of air above it. Slabs, stairs, and glass are not valid spawn surfaces, which is useful for lining collection areas or floors you do not want mobs to land on.

Mob packs. The game spawns in groups. A spawn attempt places 1-4 mobs of the same type in a cluster, spread within a small area around the initial target block. Pack spawning is why a larger total dark surface area matters: more target blocks means more attempts succeed per game tick.

The hostile mob cap. The game stops attempting hostile mob spawns once approximately 70 hostile mobs exist within the spawn-eligible zone around you. This is the ceiling on output. Every creeper, skeleton, or zombie that spawns in a dark cave, under your house, or in an unlit corner of your build competes for that cap. Clearing competing spawns is the single biggest improvement most players can make to a mob farm's output.

The 24-128 sphere. Mobs do not spawn within 24 blocks of the player (the no-spawn radius). They despawn when more than 128 blocks away. Your AFK spot must sit between those two radii, inside simulation distance, so your farm's floors are in the 24-128 zone. Too close and spawning pauses; too far and mobs despawn before reaching the kill chamber.

What mobs you get and why

A dark-room overworld farm at typical Y levels (say, Y 64 to Y 120) produces whatever the game's hostile mob table rolls for that biome. In most overworld biomes, this means:

  • Zombies (most common): rotten flesh, occasionally carrots, potatoes, iron ingots, armor.
  • Skeletons: bones, arrows. Occasionally bows, armor.
  • Creepers: gunpowder. Music discs with a skeleton kill.
  • Spiders: string, spider eyes.
  • Endermen (if your ceilings are 3+ blocks tall): ender pearls.

If you want only a subset of these, control ceiling height. Endermen need 3 blocks of headroom. Keeping ceilings at exactly 2 blocks excludes them. Spiders need a 2x2x1 space; a 1-block-wide corridor prevents spider spawning. Most general farms accept everything and sort via hoppers downstream.

Music discs drop when a skeleton kills a creeper with an arrow. In a farm where both mobs land in the same kill chamber, this happens naturally. You do not need a separate disc farm if your mob tower has decent volume.

Why the player-kill matters

The most important design decision in any mob farm is whether mobs die by environment or by player.

Environment kills (lava, fall to death, suffocation) give you the item drops, but no XP, and no Looting bonus. They also give no credit toward the rare drops tied to player kills (equipment drops from zombies, etc.).

Player kills give XP orbs at the kill point, apply your sword's Looting enchantment to all drops, and count for kill-count advancements. This is why every serious mob farm brings mobs to near-death automatically and then finishes them with a player hit.

For XP farming specifically: there is no substitute for the player kill. If you want XP from a mob tower, the fall must leave mobs alive.

The fall height calculation

Fall damage in Minecraft is predictable: no damage for the first 3 blocks of fall, then 1 damage point (0.5 hearts) per block after that.

Most common hostile mobs have 20 HP (10 hearts). To bring them to 1 HP (the minimum for a one-hit kill with any weapon):

  • Damage needed: 19 HP
  • Fall blocks needed: 3 + 19 = 22 blocks

A 22-23 block fall is the standard target for a mob tower kill chamber. At 22 blocks, most mobs land at 1 HP. At 23 blocks, some may die outright depending on their exact HP and any armor they generated with. The 22-block number is the conservative safe choice.

Zombies and skeletons occasionally spawn with armor, which reduces fall damage and means they survive a 22-block drop at higher HP than 1. A Looting sword handles them in a second or third hit; they are a small minority of spawns. If you prefer every mob to arrive at exactly 1 HP, build with 22 blocks and accept a few extra swings for armored variants.

Do not go above 23 blocks without testing. At 24+ blocks, mobs with no armor start dying from fall damage before reaching the player, converting XP into wasted drops on the floor.

The minimal design

A working overworld dark-room tower has five components.

1. Spawning floors

Stack multiple floors of dark enclosed space above your kill chamber. Each floor is the interior spawnable area, typically 9x9 or larger in a single chunk, with:

  • Full solid block floor (any opaque full block).
  • Exactly 2 blocks of headroom (if excluding Endermen) or 3 blocks (to include them).
  • No light sources. Seal every gap. One exposed sky-facing hole during daytime will raise block light above zero across the floor.
  • Water streams on each floor, sloping toward a central hole. A standard layout places source blocks at two opposite edges, letting the current carry mobs to the center.

More floors mean more total spawnable surface in range, which means the mob cap fills with your farm's spawns faster. A single floor works; four to six floors are a practical mid-game build.

2. The central drop

The central hole each floor's water empties into is a vertical shaft. Mobs ride the water to the edge of the hole and fall. The shaft needs to be exactly 1 block wide so mobs fall cleanly without catching on the walls.

Fall height from the lowest spawning floor to the kill chamber floor should be 22-23 blocks as calculated above. If you stack floors, the lowest floor's drop is the target; higher floors add more fall and may kill mobs outright, so either size the lower floors as the drop source or use a funnel that collects from all floors before the main drop.

A common approach: all floors dump water into a single vertical shaft, with the first drop point at the top of the shaft. The shaft carries mobs down in water (no fall damage while in water), then a final drop gap at the bottom delivers the 22-block fall. This lets you stack as many floors as you want above the shaft without worrying about overkill from the height.

3. The kill chamber

At the bottom of the 22-23 block fall, mobs pile up on a 1-block-wide trench or landing pad. You stand behind a half-slab or trapdoor barrier so mobs cannot reach you, and swing once per mob.

Hoppers under the landing area feed drops into chests. A common layout: a 1x3 or 1x5 landing trench with hoppers under each block, linking to a hopper chain that leads to a multi-chest storage unit.

Keep the kill chamber at least 3 blocks tall for player comfort. If you want a one-button AFK kill, a trapdoor on the landing trench drops mobs one at a time while you hold the attack button.

4. Spawn-proofing the surrounding area

This step is not optional if you want good output. Every dark cave within 128 blocks of your AFK spot, every unlit area under your base, every dark corner of the build itself, competes for the mob cap.

The Mob Spawner Optimizer lets you map your spawnable surface area relative to your AFK point, showing which blocks are actually contributing versus which areas are stealing spawns. Running the simulation before and after cave spawn-proofing typically reveals where your cap is going.

For practical cave proofing: mine out, slab, or torch every cave in a ~100-block radius of your AFK spot. Alternatively, use a mob switch to suppress all hostile spawning in the overworld except inside your farm.

5. AFK placement

Stand below the lowest spawning floor, at a position that puts the farm floors in the 24-128 zone. In practice: your kill chamber should be near Y 64, your AFK spot at the bottom of the kill shaft, and your spawning floors at Y 87+ (24 blocks above your AFK Y). Confirm nothing is spawning closer than 24 blocks by watching the kill chamber; if mobs appear at your feet, move down.

Review render vs simulation distance before placing your AFK spot. Mobs only spawn and tick inside simulation distance. If your floors are outside that radius, they produce nothing regardless of light level. The default simulation distance on most servers is smaller than render distance.

Rates: what drives output

The honest answer is that a single number means little here. What actually determines output:

Total dark spawnable surface in range. This is the primary lever. Every additional floor of dark space adds eligible blocks, which means more spawn attempts land in your farm per game tick before the cap fills.

Mob cap competition. If 40 of your 70 cap slots are filled by cave mobs, your farm gets 30. If you spawn-proof all competing surfaces, your farm gets all 70. This is often a 2x to 3x output difference on the same physical build.

Kill speed. If mobs arrive faster than you can kill them, the landing trench fills, the cap fills with live mobs in your farm, and spawning stalls. One-hit kills via the 22-block drop keep throughput high.

Looting level. Looting III meaningfully increases gunpowder per creeper, bones and arrows per skeleton, and string per spider. It stacks multiplicatively with mob cap throughput.

Build it, AFK for a measured ten minutes with a timer, divide. That is your real rate. Use it to compare before and after cave spawn-proofing.

Chunk loading for passive operation

A mob farm only runs while its chunks are loaded. Walk away from your AFK spot, and spawning freezes. For passive operation:

/forceload add <farm-x> <farm-z>

Force-load every chunk the spawning floors occupy. If your farm spans multiple chunks, add each. Confirm with /forceload query.

You need ENTITY_TICKING level, which is what /forceload provides and is equivalent to a player standing in the chunk. BLOCK_TICKING is not sufficient; mobs will not spawn. See the chunk borders and forceload guide for the ticket level breakdown.

Even with /forceload, hostile mob spawning in the overworld requires the dimension to be inhabited. A player must be in the Overworld for hostile mobs to spawn in force-loaded chunks. The farm runs passively while you do other things in the Overworld, not while the server is empty.

Common mistakes

Light leaking through the floor or ceiling. The most common cause of poor output. Check every block of the spawning floor exterior during daytime with a debug build or F3 light level overlay. One transparent block is enough to raise block light across multiple floor tiles.

AFK spot inside the 24-block no-spawn radius. If you sit too close to the spawning floors (within 24 blocks), mobs do not spawn there. The kill chamber and AFK position must be 24+ blocks from the nearest spawning floor.

Mobs dying on the fall instead of arriving alive. Fall is too long. Measure the exact block count from the last water-carrying block to the kill floor. It should be 22-23 blocks of air. Water inside the shaft resets fall damage; only the final air gap below the water exit counts.

Low output despite a large farm. Cave mob competition. Use F3 or a spawning visualization tool to check how many hostile mobs exist at any moment and where they are. If the cap is full but your kill chamber is empty, spawns are happening outside your farm.

Mobs piling up, not reaching the player. The landing trench is not 1 block wide, or the hopper water current at the bottom is pushing mobs away from the kill spot. The final landing point should be a dry 1-block-wide position directly in front of the player's attack range.

Server performance note

A large mob farm is one of the heavier entity loads you can put on a server: dozens of mobs spawning, pathing on water, falling, dying, and dropping items every minute. On shared hosting, this directly competes with other players' tick budget.

If you run a server, check your TPS before and after enabling the farm. The Server RAM Calculator helps size your server for entity load, and our hosting comparison ranks hosts on real performance under load. The simulation distance guide covers the entity-ticking settings that most affect per-farm performance.

Scaling up

Once a basic tower runs correctly, scaling is straightforward:

Add floors. Each additional dark floor above the shaft adds to total spawnable area. Six to eight floors covers a practical mid-game build.

Expand floor area. Widen each floor beyond 9x9. The mob cap is shared across all players in the area, so a larger farm captures more of it more quickly.

Add a mob switch. A mob switch fills the overworld mob cap with your farm and prevents hostile mobs from spawning anywhere else in the loaded world. Combined with a large tower, this is how technical players reach the effective cap ceiling.

For a different design with known Nether spawn rates, the gold farm guide covers the same spawning and AFK geometry applied to zombified piglins. The iron golem farm guide shows a village-mechanic approach that does not compete with the hostile mob cap at all.

This guide is part of our Minecraft farm guides collection for 26.2.


Sources & further reading: