Skip to content
[/craft]
Place a Zombie Mob Spawner

Place a Zombie Mob Spawner

Place a working mob spawner that continuously spawns zombies

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Places a functional zombie spawner at your position using Java's block entity NBT. Change 'minecraft:zombie' to any entity ID (skeleton, spider, etc.) to spawn different mobs. The spawner functions immediately and respects nearby players.

/setblock ~ ~ ~ spawner{SpawnData:{entity:{id:"minecraft:zombie"}}}
67 characters

How to use

  1. Java: open chat (T) and paste the command.
  2. Change 'minecraft:zombie' to any mob ID if desired.
  3. Press Enter — a working spawner appears.
  4. Bedrock: use /setblock ~ ~ ~ mob_spawner, then tap it with a zombie spawn egg.

Related commands