A mob spawner is a block that automatically creates hostile or passive creatures in a set area

A mob spawner is a cage-like block that generates mobs (creatures) continuously within a radius around it. In Survival mode, you find them naturally in dungeons, mineshafts, and strongholds — they spawn zombies, skeletons, spiders, or cave spiders depending on the structure. In Creative mode, you can place spawner blocks directly from your inventory and configure them to spawn any mob type you want.

The spawner itself does not move or attack. It sits in one place and produces mobs in a roughly 8-block radius around it, as long as the spawner is loaded (meaning you are within render distance) and certain conditions are met. You can modify what mob spawns, how often it spawns, and how many mobs it creates at once by using commands or by breaking and replacing the block with specific settings.

Key Takeaways

  • Natural spawners appear in dungeons, mineshafts, and strongholds; you can break them with a pickaxe and move them, but they will not work until you place them again and meet spawn conditions.
  • In Creative mode, place a spawner block from your inventory and right-click it to open the GUI and change the mob type, spawn rate, and spawn range.
  • Spawners only create mobs when you are within render distance and the area around them is dark enough (light level 7 or below for most hostile mobs).
  • You can use commands like /setblock to place a spawner with specific mob types and settings without opening the GUI.
  • Mob farms built around spawners require a collection system (like water channels or hoppers) to gather drops and a kill zone to remove mobs efficiently.

Finding and Breaking a Natural Spawner

Natural spawners spawn in specific structures. Dungeons are the most common source — they appear underground and contain a spawner cage surrounded by stone or mossy stone. Mineshafts contain cave spider spawners. Strongholds contain silverfish spawners. Nether fortresses contain blazes spawners. Each one generates a specific mob type.

To break a spawner, use a pickaxe (stone or better). A wooden pickaxe will not break it. When you break it, the spawner block drops as an item that you can carry in your inventory. However, a spawner placed in your inventory will not function until you place it again in the world. Once placed, it will only work if the conditions around it are right — mainly darkness and an open space for mobs to appear.

Breaking a natural spawner and moving it to your base is the foundation of a mob farm. You dig it out, carry it home, and place it in a location where you can control the spawn conditions and collect the drops (experience, loot) that mobs leave behind when they die.

Placing and Configuring a Spawner in Creative Mode

In Creative mode, open your inventory and search for "spawner" or scroll through the blocks section. Click the spawner block to add it to your hotbar, then place it in the world by right-clicking. The block appears as a cage with a spinning mob inside.

Right-click the placed spawner to open its configuration screen. You will see fields for Mob Type (the creature it spawns), Spawn Count (how many mobs appear per spawn cycle), Spawn Range (the radius in blocks where mobs can appear), Delay (how many ticks between spawns), and Min Spawn Delay and Max Spawn Delay (which randomize the interval). Change any of these values and close the screen. The spawner will now follow your settings.

Common mob types to enter are: Zombie, Skeleton, Spider, Creeper, Enderman, Blaze, Ghast, Witch, Slime, Magma Cube, Piglin, Hoglin, or any other mob name. If you type a name the spawner does not recognize, it will default to Pig. You can also spawn passive mobs like Cow, Sheep, or Chicken, though these are less useful for farms since they do not drop experience.

Using Commands to Set Up a Spawner with Specific Settings

If you want to place a spawner with exact settings without opening the GUI, use the /setblock command. The syntax is: /setblock X Y Z spawner{SpawnData:{entity:{id:"minecraft:MOBNAME"}},Delay:TICKS,SpawnCount:NUMBER,SpawnRange:BLOCKS}

Replace X Y Z with the coordinates where you want the spawner. Replace MOBNAME with the mob type (for example, minecraft:zombie). Replace TICKS with the delay in game ticks (20 ticks = 1 second). Replace NUMBER with how many mobs spawn per cycle. Replace BLOCKS with the radius in blocks.

Example: /setblock 100 64 200 spawner{SpawnData:{entity:{id:"minecraft:blaze"}},Delay:20,SpawnCount:4,SpawnRange:8} places a blaze spawner at coordinates 100, 64, 200 that spawns 4 blazes every 20 ticks in an 8-block radius.

Commands work in both Creative and Survival mode if cheats are turned on. In Survival, you still need to have the spawner block in your inventory or use Creative mode to place it via command.

Conditions That Make a Spawner Work or Stop

A spawner only creates mobs when specific conditions are met. First, you must be within render distance — typically 8 to 12 chunks depending on your settings. If you are too far away, the spawner stops working. Second, the area where mobs spawn must be dark enough. For hostile mobs like zombies and skeletons, the light level must be 7 or below. Passive mobs like cows and sheep spawn in light level 9 or above. Third, there must be an open space for mobs to appear — they spawn in a roughly 8-block radius around the spawner, but they need a solid block to stand on and at least 2 blocks of vertical space.

If mobs are not spawning, check these things: Are you close enough to the spawner? Is the area dark enough (use torches to test — if torches prevent spawning, the light is too high)? Is there enough open space? Are there already too many mobs nearby? Spawners have a mob cap — if there are already many mobs of that type within render distance, the spawner will slow down or stop.

You can control light by building the spawner in a dark room or by placing the spawner underground. You can control space by building a chamber around it with a floor for mobs to land on and walls to contain them.

Building a Basic Mob Farm Around a Spawner

A mob farm channels mobs from the spawner into a collection and kill zone. Start by building a chamber around the spawner — a room with walls, a floor, and a ceiling. Make it at least 9 blocks tall so mobs have room to move. Leave the spawner visible in the center or against one wall.

From the spawner chamber, dig a channel or build a path that leads mobs toward a drop or a kill zone. You can use water to push mobs downward (place water source blocks in a line and they flow downward if there is a gap below). You can also use a fall damage zone — mobs take damage when they fall more than 3 blocks, so a 24-block drop kills most mobs instantly.

At the bottom of the drop or kill zone, place hoppers connected to a chest to collect drops. Hoppers pull items from the ground into the chest automatically. If you want to kill mobs faster, add suffocation damage (push them into blocks), drowning (submerge them in water), or a player-controlled weapon zone where you can hit them.

Troubleshooting Common Spawner Problems

If your spawner is not producing mobs, the most common reason is light. Hostile mobs need darkness. Place a block above the spawner or remove all torches and light sources in the chamber. Test by standing in the chamber at night — if mobs spawn naturally around you, the light level is low enough for the spawner.

If mobs spawn but immediately disappear, they may be taking damage from something in the environment. Check for suffocation (blocks in their spawn space), drowning, or fall damage that is too high. Mobs should survive long enough to reach your kill zone.

If the spawner worked once but stopped, you may have hit the mob cap. Too many mobs of that type are loaded in the world. Kill some of them or move farther away and come back. If you are in Creative mode and the spawner stops working after you close and reopen the world, make sure you placed it correctly — some spawners placed via GUI do not save properly. Use the /setblock command instead.

Frequently Asked Questions

Can I move a spawner I found in a dungeon?

Yes. Break it with a pickaxe (stone or better) and it drops as an item. Carry it to your base and place it. It will work once placed, but only if the spawn conditions are right — darkness, open space, and you being within render distance.

What is the difference between SpawnCount and Delay?

SpawnCount is how many mobs spawn in a single cycle. Delay is how many ticks pass between cycles. A spawner with SpawnCount 4 and Delay 20 spawns 4 mobs every 20 ticks (every second). Lower delay means faster spawning.

Do spawners work in the Nether and the End?

Yes. Spawners work in any dimension as long as you are within render distance and the mob type can exist there. A zombie spawner works in the Nether, but zombies are rare there naturally, so it is useful for farming.

Can I change what mob a spawner creates after I place it?

Yes. Right-click the spawner to open the GUI and change the Mob Type field. You can also use the /setblock command to replace the spawner with a new one that has different settings.

Why do mobs spawn inside blocks sometimes?

Spawners can place mobs in solid blocks if the spawn radius is too large or the chamber is too small. Reduce the SpawnRange value or build a larger chamber with more open floor space.