Searches like Minecraft spawn command, mob generator Minecraft and summon mob generator usually mean the same thing: you need a working /summon command for a specific entity.
Basic summon examples
/summon minecraft:zombie ~ ~ ~/summon minecraft:villager ~ ~ ~/summon minecraft:item ~ ~ ~for dropped item tests.
Useful options
After the basic entity works, add custom name, health, equipment, NoAI or villager trades. Add only one feature at a time so you can find the exact cause if the command breaks.
Mob generator use cases
- Adventure map enemies with custom names.
- Shop villagers with trades.
- Boss mobs for minigames.
- Testing areas for datapacks and command blocks.