How to Build a Slime Farm in Minecraft
How to find slime chunks, build spawning layers at the right Y-level, and collect slimeballs automatically. Covers chunk finding, lighting, and spawn mechanics.
Slimeballs are a critical crafting ingredient for sticky pistons, leads, slime blocks, and magma cream. Slimes only spawn in specific chunks below Y=40, making them one of the trickiest mobs to farm. This guide walks through finding slime chunks, building the spawning layers, lighting everything correctly, and setting up auto-collection.
Why build a slime farm?
- Slimeballs are needed for sticky pistons, the backbone of all redstone contraptions.
- Slime blocks are essential for flying machines and mob farms.
- Leads require slimeballs and are consumed frequently.
- No other reliable source of slimeballs exists in bulk.
Materials list
| Item | Quantity | Notes |
|---|---|---|
| Torches or other light sources | 500+ | Prevents all other hostile mob spawns |
| Iron golems | 3-4 | Lure and kill slimes automatically |
| Building blocks | 1,000+ | Platform floors |
| Hoppers | 50+ | Collection grid |
| Chests | 10+ | Storage |
| Water buckets | ~20 | Pushing slimes to a collection point (optional) |
| Magma blocks | 64+ | Alternative kill method |
| Fences or walls | ~50 | Keeping iron golems in position |
Finding slime chunks
In Java Edition, every world has predetermined "slime chunks" based on the world seed. These are 16x16 block columns where slimes can spawn below Y=40 at any light level. There are two ways to find them:
- Chunkbase: Enter your world seed at chunkbase.com/apps/slime-finder. It shows a map of all slime chunks. This is the fastest method.
- Manual detection: Mine out a large area below Y=40, light it up fully, and wait. If slimes spawn in a particular chunk, that chunk is a slime chunk. This takes time but works without sharing your seed.
In Bedrock Edition, the slime chunk algorithm uses the same seed-based system. Chunkbase supports Bedrock seeds as well.
For maximum efficiency, find an area where 3-4 slime chunks are adjacent. More chunks means more spawning space.
Step-by-step build instructions
Step 1: Dig out the slime chunks
Go down to Y=7 (just above bedrock) and dig out the entire chunk, 16x16 blocks, floor to ceiling. Clear the chunk all the way up to Y=40. This gives you 33 vertical blocks to work with. Repeat for each adjacent slime chunk you want to include.
This is the most labor-intensive step. Efficiency III on a diamond or netherite pickaxe with a beacon providing Haste II makes this manageable.
Step 2: Build spawning layers
Create flat spawning platforms every 4 blocks vertically within the cleared chunk. Slimes spawn in sizes large (4 blocks tall), medium (2 blocks tall), and small (1 block tall). A 4-block gap between layers accommodates all sizes. You should fit about 8 layers between Y=7 and Y=39.
Side cross-section of one slime chunk:
Y=39 ================ Layer 8 (ceiling)
Y=35 ================ Layer 7
Y=31 ================ Layer 6
Y=27 ================ Layer 5
Y=23 ================ Layer 4
Y=19 ================ Layer 3
Y=15 ================ Layer 2
Y=11 ================ Layer 1
Y=7 ================ Bedrock floor
Step 3: Light everything up
Slimes are the only hostile mob that spawns at any light level in slime chunks. By lighting the entire area to light level 7 or higher, you prevent zombies, skeletons, spiders, and creepers from spawning. The torches do not affect slime spawns at all. Place torches on every platform liberally. The goal is zero dark spots.
Step 4: Add the collection system
There are several options:
Iron golem method (recommended): Place iron golems on each spawning layer. Slimes aggro onto iron golems. The golems kill the large and medium slimes, which split into smaller ones. Small slimes are eventually killed too. Place hoppers under the platforms to collect slimeballs that fall through.
Water stream method: Add water channels on each layer that push slimes toward a central drop shaft. At the bottom, use magma blocks or campfires to kill them. Hoppers collect the drops.
Froglight method (1.19+): Place frogs on platforms. Frogs eat small slimes and produce froglights. This gives you froglights instead of slimeballs, which is useful if you want the decorative blocks.
Step 5: Spawn-proof the surrounding caves
The hostile mob cap is shared. Mobs spawning in nearby caves steal cap slots from your slime farm. Light up or slab every cave within 128 blocks of your AFK spot. This is critical for good rates.
Step 6: AFK
Stand at least 24 blocks away from the nearest spawning platform (mobs do not spawn within 24 blocks of a player) but within 128 blocks of all platforms. A good AFK spot is 30 blocks above the top layer, sitting in a small enclosed room.
How it works
In slime chunks, slimes can spawn below Y=40 at any light level, in sizes large (size 4), medium (size 2), and small (size 1). The spawn weight is low compared to other mobs, so you need the mob cap entirely dedicated to slimes. Lighting prevents other hostile mobs. Iron golems kill the slimes, and splitting mechanics mean each large slime eventually becomes 2-4 medium slimes, each of which becomes 2-4 small slimes. Every small slime drops 0-2 slimeballs.
Efficiency stats
- Slimeballs per hour (1 chunk): 200-400
- Slimeballs per hour (4 chunks): 800-1,500
- XP per hour: Low (slimes give minimal XP)
Common mistakes
- Building above Y=40. Slimes cannot spawn above Y=40 in slime chunks. Every platform must be below this level.
- Wrong chunk. Double-check your chunk coordinates with Chunkbase. Being off by even one block can mean you are in the wrong chunk.
- No spawn-proofing nearby. Dark caves nearby fill the mob cap with zombies and skeletons, leaving no room for slimes.
- Not enough layers. One platform produces very few slimes. Stack 6-8 layers per chunk for decent output.
- AFK too close. If you are within 24 blocks of a platform, mobs cannot spawn there. Keep your distance.
Frequently asked questions
Do slimes also spawn in swamp biomes?
Yes. Slimes spawn on the surface in swamp biomes at night when the moon is above 50% fullness. But swamp farms are inconsistent because spawn rates depend on the moon phase. Slime chunk farms work 24/7 regardless of time or moon.
Can I use this farm for XP?
Slimes give very little XP (1-4 per large slime with all splits). This farm is primarily for slimeballs. Use an Enderman farm or blaze farm for XP.
How do I check my world seed?
On Java, type /seed in chat (requires operator permissions on servers). On singleplayer, it works without cheats. On Bedrock, go to Settings > Game > Seed to see the world seed. Copy the seed exactly (including any negative sign) and paste it into Chunkbase to find your slime chunks.
Advanced optimization
Once the basic farm is running, consider these improvements for higher output:
- Cave clearing: Instead of just lighting nearby caves, consider clearing them entirely (filling with blocks or draining). This is extreme but eliminates all competing spawns and maximizes your slime output.
- Looting III for small slimes: If you use a manual kill chamber at the bottom, a Looting III sword increases slimeball drops from 0-2 to 0-5 per small slime. This nearly triples your output compared to iron golem kills (which get no Looting bonus).
- Multiple chunk clusters: If you find 2 separate clusters of slime chunks, build identical farms in each and AFK between them. The spawn algorithm selects random positions across all loaded chunks, so more slime chunk area means more successful spawns per cycle.
- Hopper minecart collection: Hopper minecarts running on rails beneath the platforms pick up items through solid blocks above them. This is more expensive than regular hoppers but covers larger areas with fewer components and no water stream management.
Need a server that handles all this? Astroworld Hosting, NVMe SSDs, Pterodactyl panel, DDoS protection on every plan.