Minecraft mob generator: /summon command

Commands

Mobs with names, armor, effects and optional AILearn more

Create an arena boss, entrance guard, or decorative mob. Choose the entity and its settings to generate a correctly formatted summon command.

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

Choose a mob to summon

Hostile

Neutral

Peaceful

Aquatic

From the Nether

From the End

Special

Name, health, and tags

Separate tags with periods, up to 5 tags. The mob can then be selected using @e[tag=boss].

Behavior

Only for this mob

Effects

Useful

Hostile

Others

Equipment

Enter an ID or in-game name: iron_sword or Iron Sword. The setting on the right controls the drop chance. Normal drops require a player kill and may be damaged; Always drops the item at full durability, regardless of how the mob dies.

Result

Minecraft /summon Command

without a name

Zombie

Health
normal
Effects
0
Flags
0

The command

30 of 256
/summon minecraft:zombie ~ ~ ~
This mob in the spawner The block will spawn it infinitely

How to use the result

  1. Stand where the mob should appear.

    ~ ~ ~ — the player who runs the command. A different arena angle is needed — replace with coordinates.

  2. Paste the command into chat

    Operator permissions are required. Commands longer than 256 characters need a command block rather than chat.

  3. Find it by tag

    The tag from step 2 catches @e[tag=…]: bosses are either killed or healed. A selector helps collect them. target selector.

What to know about /summon

  • Health is set by TWO fields, and this is the main trap. Health — this is current health, capped at maximum: zombies with Health:100f appears with twenty. The ceiling can only be raised via attribute max_health, so both are included in the command.
  • Name — a text component, not a string. CustomName: "Boss" in modern game it doesn't work at all — the mob will remain unnamed. Therefore, name codes work as follows: &cGuardian will be red.
  • Cubs of monsters and animals have different fields. For zombies IsBaby:1b, the cow's — age as a number (Age:-24000). IsBaby does nothing on cows.
  • "No AI" and "Invulnerable" — this is a statue. The mob stays where it spawns, doesn't move, attack, or take damage. Used for decorative figures on spawn.
  • Never disappear is required almost always. A regular mob vanishes when players are absent for a long time — and the arena boss will disappear before players arrive.
  • Command compiled for 1.21.5 and newer. A second data format is intentionally omitted: entity fields have moved multiple times in different ways — ActiveEffects became active_effects in 1.20.5, attributes changed field names in 1.21, and the name from 1.21.5 is now an object (CustomName: {text: "Boss", color: "red"}), rather than a JSON string. Old syntax may appear literally above the mob's head. Only supported formats are offered here.
  • Equipment is equipment, and not HandItems. From 1.21.5, items are stored in a compound 'slot → item', with probabilities in drop_chances. The command with old HandItems and ArmorItems will execute, and the mob will spawn naked. The old command can be inserted into import — equipment will transfer to the new entry.
  • Default drop chance is 8.5%, and only from player hands. Normal drops may be damaged. Always uses a drop chance of 2.0, giving an undamaged item regardless of the cause of death; Never uses 0.0. Curse of Vanishing prevents the item from dropping.
  • Effects on summoned mobs are set to infinite. Boss effects usually need to last beyond a short encounter. Disable Forever if you want an effect to expire after the selected duration.

The same mob, but inside a block that spawns it infinitely, will be collected mob spawner — it takes the base from here. Field names verified against Minecraft Wiki (Entity format, Commands/summon), equipment from client version 26.3; record for Java Edition 1.21.5+

Frequently asked questions

How to summon a mob with high health?

With two fields at once: Health sets current health, and ceiling raises the max_health attribute. A zombie with only Health:100f will spawn with twenty.

How to make a mob that doesn't move?

Disable AI (NoAI) — the mob will stay still. Together with 'Invulnerable', this is a statue; 'Doesn't disappear' is needed almost always, otherwise the mob vanishes when the player moves away.

How to summon a mob with a sword or armor?

Equipment: equipment:{mainhand:{id:"minecraft:iron_sword"}}. Old HandItems and ArmorItems from 1.21.5 don't work — the mob will spawn naked. Drop chances are set by drop_chances.