Mechanics & How-To

How to Build an Efficient Mob Farm in Minecraft

Mob caps, dark rooms, water canals, and what changed in 1.21 that broke your old tutorial.

Mob farms live and die by mechanics most players never see directly: light levels, mob caps, and despawn rules. Get those right and even a simple design outperforms a fancy one built on outdated assumptions.

The Mechanics That Actually Matter

Light levels

Hostile mobs need block light 0 and (on the surface) sky light ≤7 to spawn — fully dark, roofed rooms give the maximum spawn rate regardless of time of day. In the Nether, block light ≤11 is enough; in the End, it must be 0.

Mob caps

Java Edition caps hostile mobs at 70 per player-visible area, scaled by loaded chunks. Crucially, mobs only count against your cap if they're within 128 blocks of you — a sprawling farm that spawns mobs far from your kill point is quietly wasting its own cap. Compact, quickly-cycled designs beat huge ones.

Mob switches

A mob switch keeps the cap artificially full of mobs that don't despawn or don't count against normal rules (Withers, Shulkers, nametagged mobs, spawner-spawned mobs) to bias new spawns toward your farm instead of the wider world.

Farm Designs, From Simple to Endgame

Finishing the Kill

A ~22-block drop leaves most mobs at half a heart — perfect for an XP farm, since XP orbs (and several rare drops) only appear on a player or tamed-wolf kill. A fully automatic grinder skips that fall height, killing mobs outright for pure loot with no XP.

A Note on "1.21 XP/hour" Claims

You'll see huge numbers thrown around for optimized allay/silverfish farms online — treat them as best-case, heavily-optimized claims rather than guarantees. A well-built dark room or canal farm will still comfortably carry you through early and mid-game progression.

Why This Matters on MCRPG

On a server where custom monsters drop the essences that define your character forever, knowing how spawning actually works isn't trivia — it's how you find a farmable choke point instead of wandering the wilderness hoping. The essences guide covers what you're actually farming for.