Minecraft Summon Command Generator
Pick a mob or entity, then set its position, name, state, equipment and attributes such as health and speed to build a /summon command. The NBT is written in the format your selected Minecraft version expects.
/summon minecraft:zombie ~ ~ ~Zombie
minecraft:zombie
What this generator does
Search for an entity, then set its name, states such as Invulnerable, Glowing, NoAI and PersistenceRequired, the six equipment slots with enchantments, and max health, attack damage, movement speed, follow range and knockback resistance, and it builds the /summon command. /summon NBT field names change often between versions (HandItems and ArmorItems were merged into equipment in 1.21.5, names are SNBT text from 1.21.5, attributes were renamed in 1.21 and 1.21.2), so the generator rewrites the command for the version you pick. If you set an execution target it wraps the command in /execute, whose syntax also differs between 1.12 and older and 1.13+. The share link sends the exact same settings to someone else.
Command Usage Examples
1. Slime carrying a skeleton in diamond gear
Passengers puts a skeleton with a diamond sword and helmet on top of a large slime. In 1.21.5 HandItems and ArmorItems were merged into a single equipment field keyed by slot names such as mainhand and head. The old format still summons the mob on 1.21.5+ without an error, but the equipment is empty. On 1.20.4 and older use Count:1b instead of count:1.
/summon slime ~ ~ ~ {Size:3,Passengers:[{id:"minecraft:skeleton",equipment:{mainhand:{id:"minecraft:diamond_sword",count:1},head:{id:"minecraft:diamond_helmet",count:1}}}]}/summon slime ~ ~ ~ {Size:3,Passengers:[{id:"minecraft:skeleton",HandItems:[{id:"minecraft:diamond_sword",count:1},{}],ArmorItems:[{},{},{},{id:"minecraft:diamond_helmet",count:1}]}]}2. Armor stand statue with an always-visible name
Invulnerable and NoGravity keep it fixed in place, and CustomNameVisible always shows the name. From 1.21.5 the name is written directly as SNBT text. If you use the old JSON wrapped in single quotes, the whole string becomes the name, braces and quotes included.
/summon armor_stand ~ ~ ~ {Invulnerable:1b,NoGravity:1b,ShowArms:1b,CustomNameVisible:1b,CustomName:{text:"Guardian",color:"gold"}}/summon armor_stand ~ ~ ~ {Invulnerable:1b,NoGravity:1b,ShowArms:1b,CustomNameVisible:1b,CustomName:'{"text":"Guardian","color":"gold"}'}3. Silent, invisible creeper
Applies Invisibility with infinite duration and hides the particles. In 1.20.2 ActiveEffects became active_effects, and effects are written as IDs like minecraft:invisibility instead of numbers (Invisibility is 14). Infinite duration (duration -1) exists from 1.19.4, so on older versions use a large tick value such as 1000000.
/summon creeper ~ ~ ~ {Silent:1b,active_effects:[{id:"minecraft:invisibility",amplifier:0b,duration:-1,show_particles:0b}]}/summon creeper ~ ~ ~ {Silent:1b,ActiveEffects:[{Id:14b,Amplifier:0b,Duration:1000000,ShowParticles:0b}]}4. Boss zombie with 100 health
Raises max health to 100 (50 hearts), fills current health with Health, and PersistenceRequired keeps it from despawning when you walk away. In 1.21 Attributes, Name and Base became attributes, id and base, and from 1.21.2 attribute IDs lost the generic. prefix (1.21 to 1.21.1 use minecraft:generic.max_health). From 1.21.5 an omitted Health starts at max health.
/summon zombie ~ ~ ~ {PersistenceRequired:1b,attributes:[{id:"minecraft:max_health",base:100d}],Health:100f}/summon zombie ~ ~ ~ {PersistenceRequired:1b,Attributes:[{Name:"generic.max_health",Base:100d}],Health:100f}5. Bat that drops a Totem of Undying
DeathLootTable makes the bat use the evoker's loot table when it dies. That table drops one Totem of Undying, and an emerald may drop as well when a player kills it. The name format differs before and after 1.21.5 for the same reason as example 2.
/summon bat ~ ~ ~ {CustomName:{text:"Golden Bat",color:"yellow"},DeathLootTable:"minecraft:entities/evoker"}/summon bat ~ ~ ~ {CustomName:'{"text":"Golden Bat","color":"yellow"}',DeathLootTable:"minecraft:entities/evoker"}/summon changes by version (Java Edition)
When a /summon command from an old tutorial errors, or summons the mob but without its equipment, effects or health, it is usually because of these changes. Entity NBT silently ignores unknown fields, so a renamed field simply does nothing.
| Version | Change |
|---|---|
| 1.11 | Entity IDs became lowercase with underscores. Example: Zombie → zombie |
| 1.13 | /execute syntax changed to /execute at '<'target> run summon ..., and entity names (CustomName) became text components (JSON) instead of plain strings. |
| 1.20.2 | ActiveEffects became active_effects, and effect IDs changed from numbers to strings like minecraft:speed. Amplifier, Duration and ShowParticles became amplifier, duration and show_particles. |
| 1.20.5 | Equipment items use count:1 instead of Count:1b, and item NBT (tag) became components. |
| 1.21 | The Attributes list became attributes, and its Name and Base fields became id and base. |
| 1.21.2 | Attribute IDs lost the generic. prefix. Example: generic.max_health → max_health |
| 1.21.5 | HandItems, ArmorItems and body_armor_item were merged into equipment, and CustomName is written as SNBT text instead of a JSON string. If Health is omitted the mob starts at max health. |
| 1.21.9 | Summoning a monster on Peaceful difficulty makes the command fail. |
How we checked: the change history is based on the official Minecraft changelogs (18w01a for 1.13, 23w32a for 1.20.2, 1.21 and 1.21.5) and the Minecraft Wiki /summon article. Attribute IDs, defaults and ranges are extracted from the official server jar's data generator reports, and FAQ error messages are quoted from the game's language file (en_us). Last checked: November 2026.
Useful values
Values people look up most often when customizing a summoned mob. All for Java Edition.
1. Equipment slot names and order
· 1.21.5+ equipment: mainhand, offhand, head, chest, legs, feet, body (horse armor etc.), saddle · 1.21.4 and older HandItems: [main hand, off hand] · 1.21.4 and older ArmorItems: [feet, legs, chest, head], so the helmet is the fourth entry. Leave unused slots as empty braces.
2. Effect duration and strength
· duration is in ticks. 20 = 1 second, 1200 = 1 minute · -1 = infinite (1.19.4+) · amplifier 0 = level I, 1 = level II
3. Health and size defaults and ranges
· max_health: default 20 (10 hearts), 1 to 1024 · scale (1.20.5+): default 1, 0.0625 to 16. 3 means three times as big · Creeper ExplosionRadius default 3, Fuse default 30 ticks (1.5 seconds) · Slime Size: 0 small, 1 medium, 3 the largest naturally spawning slime
Frequently Asked Questions (FAQ)
Q. I get 'Can't find element ... of type ...'.
A. The entity ID is misspelled or the entity does not exist in that version (this is the 1.19.3+ wording). Some entities were renamed: for example zombie_pigman is zombified_piglin from 1.16. The generator list only shows entities of the selected version.
Q. I get 'Unable to summon entity'.
A. You picked an entity that cannot be summoned with the command, such as a player or a fishing bobber.
Q. I get 'Invalid position for summon'.
A. Since 1.16 you cannot summon outside ±30,000,000 on the X and Z axes. Check the number of digits in your coordinates.
Q. I get 'Monsters cannot be summoned in Peaceful difficulty'.
A. From 1.21.9, summoning a monster on Peaceful fails. Switch to Easy or higher (/difficulty easy). On 1.21.8 and older the monster is summoned without an error and disappears immediately.
Q. I get 'Unable to summon entity due to duplicate UUIDs'.
A. You put a UUID in the NBT and an entity with the same UUID already exists. Running the same command twice gives this error the second time. Leave the UUID out and a new one is picked each time.
Q. A command from an old tutorial runs without errors, but the equipment or effects are missing.
A. Entity NBT ignores unknown fields, so with a renamed field only a default mob is summoned. Use equipment instead of HandItems and ArmorItems on 1.21.5+, active_effects instead of ActiveEffects on 1.20.2+, and attributes instead of Attributes on 1.21+. The change table above lists the names per version.
Q. On 1.21.5+ the mob's name shows braces and quotes.
A. From 1.21.5 names are read as SNBT text, not as a JSON string, so JSON wrapped in single quotes is treated as plain text. Write text and color directly without quotes, as in example 2. For a name without colour, a plain string in double quotes is enough.
Q. The summoned mob disappears quickly.
A. Hostile mobs despawn naturally when players move away. Add PersistenceRequired:1b to keep them. Also check for Peaceful difficulty, and for zombies or skeletons burning in daylight (a helmet stops them from burning).
Q. The command does not fit in chat, or I want to summon several mobs at once.
A. Chat accepts only 256 characters, so paste long commands into a command block. /summon summons one entity per run. If you raise the count in the generator it repeats the command on several lines; put them in chain command blocks or a function (.mcfunction).