Run these from an operator’s chat, a command block, or the server console. Rotate, Swing and Display Entity use newer command/entity features — check they’re available on your Minecraft version.

How to Use the Summon Command Generator

  1. Type or pick an entity type, such as minecraft:zombie, from the suggestion list – any valid mob or entity ID works, including passive mobs, bosses, and item-like entities.
  2. Set the X, Y, Z position. The defaults are all ~ (tilde notation), which spawns the entity at the command’s own location – leave them as-is to summon on top of yourself or a command block.
  3. Optionally give the entity a custom name, then toggle any NBT flags you want: No AI, Silent, Glowing, Invulnerable, No Gravity, or Persistence Required.
  4. Copy the generated /summon command into a command block, the console, or an operator’s chat.

Command Syntax Reference

/summon <entity> [x] [y] [z] [nbt]

The entity ID is the only required argument – omitting the position spawns the entity at the executor’s own coordinates. This generator always writes out ~ ~ ~ explicitly so the command is easy to read and edit, but any coordinate can be absolute (100 64 -50), relative (~2 ~ ~-2), or local (^ ^ ^3 to spawn a fixed distance in front of whoever runs the command).

The optional NBT compound at the end controls the entity’s data on spawn. This tool exposes six common boolean flags as checkboxes:

  • CustomName – a JSON text component shown as a nameplate above the entity (also enables it as a name-tag-style label without needing a physical name tag).
  • NoAI:1b – disables the entity’s AI goal selector entirely; it won’t move, attack, or path toward anything, but is otherwise fully interactive (still takes damage, still collides).
  • Silent:1b – mutes ambient, hurt, and death sounds for that entity.
  • Glowing:1b – applies the glowing outline effect permanently, visible through walls, without needing a real Glowing status effect.
  • Invulnerable:1b – makes the entity immune to all damage sources except the void and /kill.
  • NoGravity:1b – the entity ignores gravity and stays exactly where it’s placed, commonly used for decorative or floating mobs.
  • PersistenceRequired:1b – exempts the entity from natural despawning, so it survives indefinitely even far from any player (normally hostile mobs summoned this way can still despawn like naturally spawned ones unless this is set).

Any of Minecraft’s much larger NBT vocabulary – health, equipment, potion effects, AI goal overrides, passenger data – can be appended manually inside the same braces; this generator focuses on the flags players reach for most often.

Frequently Asked Questions

What’s the difference between this tool and the per-mob summon generators?

This is the generic /summon builder – it accepts any entity ID and lets you compose NBT flags freely, which is flexible but requires knowing (or looking up) the exact ID and tag names. If you want a guided generator built around one specific mob’s own special options – like a horse’s variant/markings or a villager’s profession – the dedicated Mob Summon Generator covers individual mobs with their own tailored fields.

Why does my summoned mob immediately despawn?

Most hostile mobs are subject to natural despawning if no player is within roughly 32 blocks, or a distance-based random despawn chance beyond 32 blocks, unless something prevents it (being named, holding a player-given item, or having spawned from a spawner in some versions). Check the Persistence Required box, or give the mob a custom name, to stop this.

Can I summon an entity that already exists (like the Ender Dragon)?

Yes, /summon will create a brand new instance of any valid entity ID, including bosses like minecraft:ender_dragon or minecraft:wither – but summoning a second boss doesn’t merge with or replace an existing one; you can end up with duplicates, which may not behave exactly like the vanilla-spawned original (for example, a manually summoned Ender Dragon won’t automatically get a dragon fight/exit portal tied to it in the same way as the End’s native fight).

Does the position support relative and local coordinates?

Yes. Tilde (~) coordinates are relative to the command’s execution point, and caret (^) coordinates are relative to the executor’s facing direction – useful for spawning something a fixed distance in front of a player regardless of which way they’re looking.

Related Tools