Skip to main content
← All Guides
Commands · Spawning

How to Use the /summon Command

The /summon command drops any entity into your world on demand. Pair it with tilde coordinates and NBT tags to spawn named, custom, frozen or boosted mobs exactly where you want them.

server console, world: overworld
[12:04:18] [Server thread/INFO]: Awaiting command…
> /summon zombie ~ ~ ~ {CustomName:'"Brutus"',IsBaby:0b,Health:40f}
[12:04:19] [Server thread/INFO]: Resolving target position → 128.5 71.0 -340.5
[12:04:19] [Server thread/INFO]: Applying NBT tags · CustomName, IsBaby, Health
[12:04:19] [Server thread/INFO]: Summoned new Zombie «Brutus»
<Server> Brutus the Zombie has entered the world
✓ 1 entity summoned · 40♥ · named mob
The full grammar

Read it as /summonentityx y z{nbt}. The entity ID is mandatory; everything after is optional but positional, so you cannot add NBT without first giving a position. Tilde coordinates anchor to the command runner, making ~ ~ ~ the safest default. NBT keys are case sensitive and need exact suffixes: 0b for boolean, 40f for float, quoted strings for names.

Quick answers

+What is the basic /summon syntax?
/summon <entity> [x y z] [nbt]. Only the entity ID is required, for example /summon creeper. Position and NBT are optional.
+What does ~ ~ ~ mean?
The tildes are relative coordinates. ~ ~ ~ means the exact spot the command runs from. ~ ~5 ~ means 5 blocks above it. Mix tilde and numbers freely.
+How do I name a summoned mob?
Add the CustomName tag: /summon villager ~ ~ ~ {CustomName:'"Bob"'}. Add CustomNameVisible:1b to keep the nameplate showing without looking at it.
+How do I spawn a baby mob?
Set IsBaby:1b in the NBT, like /summon zombie ~ ~ ~ {IsBaby:1b}. For animals use Age:-24000 instead, which is the baby timer.
+Can I summon a mob that cannot move?
Yes. Use {NoAI:1b} to freeze its brain, or {Silent:1b} to mute it. Combine tags: {NoAI:1b,Silent:1b,Invulnerable:1b} for a decorative statue mob.
+Why does my /summon command fail?
Common causes: a typo in the entity ID, a missing comma in NBT, wrong quote escaping, or no permission. Check the red error text for the exact character position it failed at.
Database
Command Reference
Syntax, arguments and examples for every command.
Hosting
Managed Hosting
Skip the setup: a managed server online in minutes.
Database
Item Database
Every item with its stats, IDs, recipes and uses.
Guides
More Server & Admin guides
Run a server: setup, hosting, permissions, worlds and crossplay.