Pick a mob, give it a name, armour, a weapon, more health or a different size, add potion effects and switch off its AI, then copy one /summon command. Good for shopkeepers, bosses, statues and arena fights.
How to use the command
Commands need cheats on (single player: Open to LAN, Allow Cheats) or operator rights on a server.
The mob appears at the position: ~ ~ ~ is where you stand, ~ ~1 ~ one block higher, or type exact numbers.
A long command doesn't fit in chat (256 characters). Paste it into a command block (/give @p command_block) or run it from the server console without the /.
Pick your version: mob data changed in 1.20.5, 1.21.2 and again in 1.21.5.
Good to know
No AI keeps the mob still and it won't attack, which is what you want for shopkeepers and statues. Invulnerable stops most damage; players in creative mode can still kill it.
Never despawns keeps a hostile mob around when nobody is near. Hostile mobs still vanish on Peaceful.
Health goes up to 1024. Size works from 1.20.5 and goes from 0.0625 to 16 times the normal size.
A tag lets other commands find the mob, like /kill @e[tag=shop].
Names take colour codes: &0-&9 and &a-&f, &l bold, &o italic, &n underline, &r normal, &#ff8800 any colour.
Versions 1.20.2 to 1.20.4 aren't covered.
Something wrong or missing here? Tell me, requests decide what I add next. More tools: all tools.