Skip to content

Planning a Slime Farm From the Seed

JavaBedrock

Slime farms fail for one reason more than any other: the chunk was never a slime chunk. The seed map shows every slime chunk for Java and Bedrock, and the slime seed finder searches for the best cluster near a chosen spot, so the farm is right before the first block is broken.

Updated · 6 min read · Java & Bedrock up to 26.3

Slime chunk finder for the text seed chunkscout, zoomed in, with slime chunks hatched in green
Text seed chunkscout, Java 26.3, around 0, 0: the hatched chunks are slime chunks, and several touch.

What a slime chunk is

Slimes spawn underground only in slime chunks, about one chunk in ten, chosen by a formula, not by terrain. On Java the formula mixes the world seed with the chunk coordinates and feeds the result to the game's random number generator; the chunk qualifies when the first draw out of ten is zero. Change the seed and every slime chunk moves. On Bedrock the formula ignores the seed entirely and uses only the chunk coordinates, so all Bedrock worlds share one fixed slime chunk pattern.

The slime chunk finder hatches every slime chunk in green for the chosen edition, and the slime chunk page has a single-chunk checker and the formula itself. Both were verified: the Java formula against an independent implementation of the game's generator on 500 chunks per test world, the Bedrock one against the known Mersenne Twister outputs.

The slime chunk checker on the slime chunks tool page with seed chunkscout and position 40, 8 entered
The single-chunk checker on the slime chunks page: seed chunkscout, position 40, 8. It is the finder's formula applied to one chunk, for when you only need a yes or no.

Densities vary more than you might think. In the 17×17 chunks around spawn, seed 123456789 has 20 slime chunks on Java, seed -1234567890123 has 27, seed 8675309123456789 has 32 and the text seed chunkscout has 34, nearly twice the first. The same window on Bedrock has 27 for every seed.

Spawning rules that decide the design

  • Height: slimes spawn in slime chunks at Y 39 and below. Deeper is not better for the rules, but the lower you build, the fewer caves are above the farm to compete for the mob cap.
  • Light: on Java, slime chunk spawning ignores light level, so the farm can be lit for safety. Light still stops zombies and skeletons from taking the cap.
  • Space: a slime needs an air box matching its size; big slimes are just over two blocks tall and wide, so floors need three blocks of headroom and open floor area.
  • Chance: on Java each spawn attempt in a slime chunk passes only one time in ten, so rates come from many spawnable blocks, not from a single perfect chunk.
  • Distance: mobs spawn 24 or more blocks from the player and despawn beyond 128. AFK at 24 to 32 blocks from the farm's floors, with the rest of the 128-block sphere lit or filled.
  • Peaceful: slimes never spawn on Peaceful difficulty, on either edition.

Swamps are a separate mechanic: slimes spawn on the surface of swamp and mangrove swamp biomes between Y 51 and 69 at light 7 or lower, with a chance that follows the moon phase. A swamp farm needs no slime chunk and produces nothing on a new moon; a slime chunk farm runs every night of the month.

Choosing the chunks

Open your seed on the slime finder, zoom in until chunk outlines appear and look for two or more hatched chunks touching. A single 16×16 chunk gives a modest farm; a 2×2 block of slime chunks gives a 32×32 floor per layer and four times the output for almost the same effort. The Grid layer and the coordinate readout give each chunk's block range; note the corners before you go underground.

A slime chunk popup on the slime finder showing the chunk coordinates, its block range and the note that slimes spawn below Y 40
Pick a chunk from the Nearest list on the slime finder and its popup gives the chunk coordinates and the block range, which is exactly what you need to write on the wall of the mine.

Then check what is above and around. A farm under an ocean or a river has water instead of caves overhead, which is ideal; a farm under a mountain has hundreds of caves to light. Use the cave finder on Java to see large caverns within 128 blocks and either avoid them or plan to light them. Finally, measure the distance to your base: slimes only spawn while you are within 128 blocks, so a farm under the base runs while you work above it.

Seed chunkscout slime chunksJava 26.3 · 34 slime chunks in the 17×17 chunks around spawn, with several touching pairs

A layout that works

  1. Dig out the whole slime chunk, or the 2×2 block, from Y 39 downward in layers three blocks tall. Three to six layers is plenty; each extra layer adds spawning floor.
  2. Leave the floors as solid blocks and keep them flat. Slimes spawn on any solid block, so the floor material does not matter.
  3. Push slimes off the floors with water streams, or let iron golems draw them, into a central drop onto magma blocks, campfires or a trap of your choice. Small slimes die to a single magma block.
  4. Light every cave and tunnel within 128 blocks of your AFK spot, or fill them. Other mobs taking the cap is the second most common reason a farm underperforms.
  5. Stand 24 to 32 blocks from the nearest floor, ideally directly above the farm, and let it run.

A well-built 2×2 farm on Java yields several stacks of slimeballs an hour, enough for sticky pistons, leads and slime blocks for flying machines without ever visiting a swamp.

A slime chunk farm build for Java 1.17 and later, material list first. Find your chunks on the map before you follow along, so the farm lands in the right place. KelpMC on YouTube

New world? Search for the seed

If you have not created the world yet, the slime seed finder searches Java seeds for the most slime chunks within a radius around a chosen spot, or for an exact pattern such as a 2×2 or 3×3 square of slime chunks at specific chunk coordinates. It tests millions of seeds a second on your own device, because slime chunks need no terrain, and every result opens on the map.

The slime seed finder page with the search form for the most slime chunks around a spot or an exact pattern
The slime seed finder. Set a centre and a radius, or draw the pattern you want, and it tests seeds on your own device until it has matches.

Combine it with the general seed finder if you also want a village or a stronghold nearby: find a village seed first, then check its slime chunks, or run the slime search and accept whatever village distance comes with it. The slime search is the stricter condition, so start there.

Bedrock differences

On Bedrock the finder needs no seed: every world has the same slime chunks, so a Bedrock slime chunk list from any source is valid in your world, and a Java list is never valid. The farm itself works the same way, with floors below Y 40 inside the hatched chunks. Bedrock's spawning rules differ in detail from Java's, including how light and mob caps are handled, so copy a Bedrock design, not a Java one, and expect somewhat different rates.

Slime chunk finder with the edition set to Bedrock, showing the fixed pattern around 0, 0
The slime finder on Bedrock around 0, 0. Compare it with the Java picture at the top of this guide: different pattern, and this one never changes.

Questions

Why do no slimes spawn in my slime chunk?

Check that the floor is at Y 39 or below, that the chunk is really a slime chunk for your edition and seed, that difficulty is not Peaceful, that you stand 24 to 128 blocks away, and that nearby caves are lit. On Java only one spawn attempt in ten succeeds, so a small farm is slow.

Do I need darkness for a slime farm?

No. In slime chunks slimes spawn at any light level on Java, so light the farm to keep other mobs out and the mob cap free.

Are slime chunks the same on Java and Bedrock?

No. Java derives them from the seed; Bedrock uses only chunk coordinates, so every Bedrock world has the same pattern. Choose the edition on the finder.

How many slime chunks are near spawn?

About one in ten chunks, but it varies: our test seeds had between 20 and 34 in the 17×17 chunks around spawn. Clusters of two to four touching chunks are common enough to find within a few hundred blocks.

Can I find a seed with a 2×2 of slime chunks at spawn?

Yes. The slime seed finder searches Java seeds for an exact slime-chunk pattern at chosen chunk coordinates, or for the most slime chunks within a radius.

Written by the Minecraft Tools team from the same world-generation engine that runs the seed map. Coordinates quoted here were computed with it for the stated seed, edition and version, and the engine is tested against the real game.