/summon
Creates a new entity of the given type at the specified coordinates, with an optional NBT compound for initial state (custom name, equipment, behaviors).
Syntax
Parameters
- entity
- entity ID
- Namespaced entity ID, e.g. minecraft:enderman.
- x y zoptional
- block coords
- Spawn position. Defaults to executor's position.
- nbtoptional
- NBT
- Optional compound: CustomName, NoAI, Invulnerable, etc.
Command builder
Configure the options below to generate a ready-to-paste /summon command.
Spawned at ~ ~ ~ — replace with absolute coords for a fixed location.
/summon minecraft:chicken ~ ~ ~Examples
Spawn a creeper at your position.
Spawn a non-AI Enderman named Bob at your position.
Strike the nearest player with lightning. /summon's <pos> only accepts coordinates, so wrap with /execute at to target an entity.
Common questions
How do I summon a mob in Minecraft?
Use /summon <mob_id> [<x> <y> <z>]. For example, /summon minecraft:ender_dragon ~ ~ ~ spawns an Ender Dragon at your feet. Cheats must be enabled.
How do I make a mob not despawn?
Spawn it with PersistenceRequired:1b in the NBT: /summon minecraft:zombie ~ ~ ~ {PersistenceRequired:1b}. Mobs with this flag stay loaded indefinitely.
Permission level
/summon requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.