Minecraft mob spawner generator
Commands
Any mob spawner with a custom spawn intervalLearn more
A spawner repeatedly creates its configured mob. It cannot be crafted or collected in vanilla Survival. A spawn egg changes the mob type; timing, counts, and ranges require block-data commands.
My Game select version
Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.
Already have a command? Paste it to fill in the form
How to use the result
- Step back one block
~ ~ ~— The player executing the command:/setblockWill place the spawner directly on you. Step back or replace with coordinates. - Or place in hand
/giveWill give the spawner as an item — it can be placed anywhere like a regular block. The format depends on the server version. - Give it darkness and space.
NBT spawn conditions do not override: mobs need free blocks and, if required, darkness. And the player must be within range.
What to know about spawners
- In survival mode, you cannot obtain a spawn egg. It cannot be crafted or dropped even with Silk Touch: a broken block yields nothing. Therefore, it requires a command.
- Egg summoning changes only that mob. Click an egg on a standing spawner — it will start spawning that entity. This is how servers without commands operate. But the interval, number of mobs per wave, spawn limit nearby, and player radius when clicking with an egg cannot be changed: they are stored in the block data and can only be set via /setblock.
/setblockor/give. - "Spawner" and "Spawner" — the same block. The Russian wiki and the game use different spellings for spawner, but the block identifier is the same:
minecraft:spawner. - 1.18 renamed the field. Before
SpawnData:{id:"…"}, becameSpawnData:{entity:{id:"…"}}. The command in the old format executes and places an empty spawn point, saying nothing. - A player radius of zero means 'never'. The game searches for a player within a specified distance; at zero, no such player exists. This is the most common reason for 'placed it, but he's silent'.
SpawnPotentialsNeeds to be used withSpawnData. SpawnData defines the next spawn, while SpawnPotentials controls later selections. The generator writes both so subsequent spawns keep the selected mob.- Ceiling nearby — this is for a farm. The spawner counts nearby mobs of the same type and pauses at its limit. Move mobs out of its detection area to allow more to spawn.
- Interval in ticks. Twenty ticks equal one second. Vanilla 200–800 means a pause from ten to forty seconds.
- The mob inside the spawner can be any type. Name above the head, health, effects, and 'no AI' work exactly as in the command
/summon— the same code collects them.
Will give the same mob without a block mob generator, and finding already spawned entities helps target selector.
Frequently asked questions
How to change the mob in the spawner?
A spawn egg changes only the mob type. Timing, counts, and player-detection range are stored in block data and configured with commands.
Why isn't the spawner spawning mobs?
The most common cause — RequiredPlayerRange:0. The game looks for a player within the specified distance, and zero distance doesn't exist. The second cause — standard spawn conditions: light, location, mob ceiling.
Can you get a spawn emitter in survival mode?
No: it cannot be crafted or dropped even with Silk Touch. It must be placed with a command.
