You can make a mob farm in Minecraft by building a dark spawning chamber with a water canal system that sweeps mobs into a drop shaft, then standing exactly 24 blocks below the kill point so hostile mobs keep spawning. On Java Edition, the current version is 1.21.9 (released September 30, 2025); Bedrock runs 1.21.x on the same redstone and spawning rules with three key differences covered below. The standard build takes 60–90 minutes and 2–3 stacks of cobblestone. The condition that matters most: your farm produces almost nothing if you build it within 128 blocks of another spawnable surface, because the mob cap fills elsewhere first.

Why Your Mob Farm Needs 128 Blocks of Clearance Before You Place a Single Block

Minecraft's hostile mob cap is a fixed pool, not a per-farm allowance. On Java Edition, the hostile mob cap scales with loaded chunks at roughly 70 mobs per player, and every cave, ravine, and dark rooftop within your simulation distance competes for that same pool. If you build a farm at y=64 next to a mountain, the mountain wins.

The spawning algorithm picks a random block in loaded chunks, checks light level and floor validity, and either spawns a mob or fails. Surface spawns happen at light level 0, which means nighttime ground and unlit caves. Your farm's spawning chamber is one candidate among thousands. That's why the standard advice is to build high: a platform at y=128 or above puts you beyond the reach of most terrain, and lighting up the surrounding area removes the competition entirely.

The number that decides whether you bother lighting caves: 128 blocks. Hostile mobs despawn instantly beyond 128 blocks from the player on Java Edition. If your entire farm sits more than 128 blocks from any player position, nothing accumulates. Build the collection point and the spawning chamber within that sphere.

Bedrock Edition changes the math. The mob cap is per-player and smaller, and the simulation distance setting on Bedrock (default 4 chunks) is far tighter than Java's default 10. A Bedrock farm built at the edge of simulation distance loads the chamber but not the drop shaft, so mobs spawn and sit there. Keep the whole structure inside 4 chunks (64 blocks) or raise the setting.

The Exact Materials List and Dimensions for a Working Farm

Gather these before you start, because a half-built farm with an open chamber leaks mobs into your base:

Material Quantity Purpose
Cobblestone or stone bricks 2–3 stacks (128–192) Chamber walls, roof, platform
Water buckets 2 Canal flow, mob pusher
Hopper 4–6 Collection funnel under kill point
Chest 2–4 Storage under hoppers
Trapdoors 8–16 Canal edges (mobs path onto them)
Signs or buttons 16–24 Canal lip, prevents water spill
Slabs 1 stack Roof lighting, spawn-proofing the platform
Lanterns or torches 8–12 Lighting the platform only

Footprint: a 9Γ—9 spawning chamber with a 2-block-tall interior is the classic size, and it fits inside one chunk on Java if you align it. The drop shaft runs 22–23 blocks down from the canal floor, ending in a 1Γ—1 or 2Γ—2 kill chamber with hoppers beneath. Total height from kill floor to chamber roof: 27–28 blocks.

Water mechanics changed in Java 1.13 (Update Aquatic) and the current flow behavior still applies: water travels 7 blocks on flat ground before stopping, and a source block placed at the canal's head pushes mobs the full length of a 7-block channel. If your chamber is wider than 7 blocks, you need a second water source or a drop in elevation. Signs and trapdoors stop water without blocking mob pathing, which is why they line every canal lip in working designs.

Step-by-Step Build: Spawning Chamber, Water Canals, and Drop Shaft

Follow this order. Building the drop shaft first prevents the classic mistake of digging down into a cave and spawning mobs into your own collection area.

1: Clear and level a 13Γ—13 platform at y=128 or higher, or at ground level if you'll light up all nearby caves. Use slabs on the roof surface later to prevent spawns up top. 2: Dig the drop shaft first. From the center of your platform, dig straight down 22 blocks. Line the shaft walls with solid blocks so mobs can't cling to ledges, and place your hoppers and chests at the bottom before sealing anything. 3: Build the 9Γ—9 chamber walls around the top of the shaft, 2 blocks tall, with the shaft opening in the floor center. Leave one wall open for now. 4: Lay the water canals. Place water source blocks at the four corners of the chamber floor, running channels toward the center hole. Each channel needs a 1-block drop every 7 blocks or a sign at the end to stop flow. Trapdoors on the canal edges make mobs walk onto the water. 5: Cap the chamber with a solid roof, 2 blocks above the floor, and slab the roof's top surface so nothing spawns there. 6: Build the kill platform at the bottom, 22–23 blocks below the canal floor. Stand on it and confirm the chamber above is within 128 blocks and outside 24 blocks β€” that 24-block gap is the sweet spot where mobs path toward you but don't despawn. 7: Light the surrounding platform and caves. Torches or lanterns every 8 blocks on any surface within 128 blocks. This is the step most builders skip, and it's the difference between a farm producing 400 drops an hour and one producing 40.

If the farm produces nothing after 10 minutes, check three things in order: your distance from the kill point (stand 24–32 blocks below the chamber floor), light levels inside the chamber (must be 0, so no torches inside), and whether another player is nearby holding mob cap. On Bedrock, also confirm the simulation distance covers the whole shaft.

Java Versus Bedrock: Where the Same Build Behaves Differently

The two editions share spawning rules on paper and diverge in three places that break copied designs.

Feature Java Edition (1.21.9) Bedrock Edition (1.21.x)
Default simulation distance 10 chunks (160 blocks) 4 chunks (64 blocks)
Hostile mob cap ~70 per player, scaled Smaller, per-player, tighter
Spawn algorithm Random block in loaded chunks Chunk-based, checks fewer candidates
Water flow 7 blocks flat, source-block push Same, but canal timing differs
Redstone timing 0.1s per tick, 10 ticks/second Same tick rate, different observer behavior
Mob pathfinding to player 24-block detection radius Similar, but mobs drop off edges differently

The practical consequence: a Java farm built at y=128 with a 22-block drop produces reliably because Java's spawn algorithm samples the whole loaded area. Bedrock samples fewer candidates per tick, so a Bedrock farm on default settings needs to be smaller (7Γ—7 chamber) and closer to the player to hit the same rates.

Bedrock's simulation distance is the single biggest build-killer. If a player sets it to 2 chunks to reduce lag, the drop shaft unloads and mobs pile up in the chamber until it's full, then nothing spawns. Check the setting before building, and tell anyone who joins your world to leave it at 4 or higher.

Java's 1.21.9 release didn't change spawning mechanics, but the 1.21 "Tricky Trials" update added the trial spawner and vault blocks, which shifted some players toward structured farms. For a general hostile mob farm, the classic water-canal design remains the most material-efficient option in both editions.

How Many Drops Per Hour a Well-Built Farm Actually Produces

Rates depend on light levels, distance, and competition, so treat any single number with suspicion. What's defensible: a farm built at y=128 with all nearby caves lit, standing 24 blocks below the chamber, produces roughly 300–600 items per hour on Java Edition at default settings. That's derived from the mob cap (about 70 hostiles, of which a fraction spawn in your chamber per spawn cycle) and the roughly 0.5–0.7 drops per mob average across zombie, skeleton, and spider loot tables.

The variables that shift that range:

Competition: each unlit cave within 128 blocks cuts your rate. Lighting everything can roughly double output. Chamber size: a 9Γ—9 chamber with four canals is the practical maximum before water flow fails to reach the center. Player count: more players in the area raise the mob cap on Java, and each player's presence resets despawn timers. Kill method: a fall of 22–23 blocks leaves mobs at half a heart, so a single hit finishes them. A 24-block fall kills them, but spiders survive and clog the shaft.

A farm that produces 40 items an hour usually has one problem: an unlit cave system directly beneath it. Dig down 30 blocks and look. If you see dark floor, that's your leak, and fixing it is worth more than any redesign.

The Five Mistakes That Turn a Working Design Into a Dead Farm

Most "my mob farm doesn't work" threads trace back to the same handful of causes, and each has a specific fix.

Standing too close or too far. At under 24 blocks, mobs spawn but path toward you and clog the canals. Beyond 128 blocks, they despawn before reaching the kill point. The window is 24–32 blocks below the chamber floor, measured vertically.

Leaving the chamber lit. A single torch inside the spawning chamber drops spawn rates to near zero. The chamber must be light level 0. Light the platform above and the caves around it, never the inside.

Building at ground level next to terrain. A farm at y=64 adjacent to a hill shares its mob cap with every cave in that hill. Either build high or spend an hour lighting caves.

Blocking the drop shaft with slabs or water. Mobs need a clear fall. Signs at the canal lip are correct; slabs halfway down the shaft catch mobs and hold them.

Ignoring Bedrock's simulation distance. On Bedrock, a farm that works in single-player breaks on a server where the setting is lower. Confirm the setting before diagnosing the design.

Lighting, Spawn-Proofing, and Keeping the Farm Clean

Spawn-proofing is the unglamorous half of the job, and it's where the rate gains live. The rule: any solid block surface within 128 blocks of your kill point that isn't inside the chamber needs light level 8 or higher, or a slab, carpet, or button on top to invalidate the spawn check.

Slabs work because mobs need a full block to spawn on. A bottom slab is still a valid spawn surface in some versions if the block above is air and the light is low, so use top slabs or carpet where you can. Carpet is the cheapest spawn-proofing material: one wool per block, and it covers the whole surface.

Lighting caves is the tedious part. Work outward from the farm in a 128-block radius and place torches on every floor. A full sweep of a mountain's cave system takes 20–30 minutes and is the highest-value time you'll spend on the project. If you'd rather not, build at y=200 instead of y=128 and skip the caves entirely, since the 128-block sphere won't reach them.

Keep the collection area sealed. A hopper line under the kill chamber with a chest at the end prevents item despawn, and a fence or wall around the kill platform stops wandering mobs from joining the queue.

What to Build Instead If You Need Specific Drops

A general hostile mob farm gives you a mixed bag: rotten flesh, bones, string, arrows, gunpowder, and the occasional iron ingot from zombies. If you need one specific item, a dedicated farm outperforms it by a wide margin.

For gunpowder, a creeper-only farm using cats to scare creepers into a specific chamber produces far more than a general farm. For iron, an iron golem farm (villages or a purpose-built design) generates iron without mining. For bones and arrows, a skeleton spawner found in a dungeon beats a general farm because spawner rates are fixed and predictable.

The general farm's advantage is that it runs passively while you do other things, and it needs no spawner. If your goal is "enough string for a few bows," build the general farm. If your goal is "a shulker box of gunpowder," build the creeper farm and skip this project.

FAQ

Do mob farms work during the day?

Yes, if the spawning chamber is fully enclosed and unlit. Daylight only matters for surface spawns, so a roofed chamber stays dark and keeps producing through the day. The farm's rate doesn't change with the sun, only with the mob cap and competition from other spawnable areas.

Why is my mob farm not spawning anything after 10 minutes?

Check your vertical distance first. You need to stand 24–32 blocks below the chamber floor; at 5 blocks away, mobs spawn but don't path into the canals, and at 130 blocks, they despawn. If distance is correct, verify the chamber's light level is 0 and that no cave system sits within 128 blocks unlit.

Can I build a mob farm in the Nether?

You can, but the mob pool is different: zombified piglins, magma cubes, and blazes dominate, and the water canals won't work because water evaporates in the Nether. A Nether farm uses lava or fall damage instead, and the drops (gold nuggets, blaze rods) are worth the redesign only if you need those items.

How much does a mob farm cost in materials?

A working 9Γ—9 design uses 2–3 stacks of cobblestone, 4–6 hoppers, 2–4 chests, and a handful of trapdoors and signs. If you're buying from villagers, hoppers run 5 iron and a chest, so budget roughly 20–30 iron for the collection system and the rest from stone you mine yourself.

Is a mob farm worth building on a small survival server?

Only if the server's simulation distance is high enough to load the whole structure. On a server set to 4 chunks, a farm at y=128 with a 22-block drop may have its kill chamber outside the loaded area, so mobs spawn but never reach the hoppers. Ask the admin for the simulation distance before you build.

What's the best height for a mob farm?

y=128 is the practical minimum for skipping cave competition, and y=200 is better if you want to avoid lighting caves entirely. Higher is not always better: past y=250 you approach the build limit and lose nothing, but the farm needs a clear 128-block sphere around the kill point regardless of altitude.

Do I need to light up caves for a mob farm to work?

On Java Edition, yes, if you build at low altitude. Unlit caves within 128 blocks pull mobs from the same cap your farm uses, and a single large cave system can cut production by half or more. Building above y=128 sidesteps the problem because most caves sit below the 128-block sphere.

Can mobs escape the drop shaft?

They can if the shaft walls aren't solid or if a ledge lets them path sideways. Line every wall with full blocks, avoid slabs or stairs inside the shaft, and keep the 1Γ—1 or 2Γ—2 opening consistent from chamber to kill floor. Spiders can climb walls, so a shaft wider than 1 block needs overhangs to stop them.