Lesson 3: The /summon Command — Spawn Anything
The /summon Command — Spawn Anything
The /summon command lets you spawn any mob, entity, or object in the game — right where you want it. Want 50 chickens? An army of zombies? A lightning bolt? Done.
The Syntax
/summon entityname x y z
Or to spawn at your location:
/summon entityname ~ ~ ~
Common Entity Names
Mobs you can summon:
minecraft:zombieminecraft:skeletonminecraft:creeperminecraft:cowminecraft:chickenminecraft:horseminecraft:wolfminecraft:villagerminecraft:ender_dragonminecraft:wither(warning: this starts a boss fight!)
Special entities:
minecraft:lightning_bolt— strikes lightning at the locationminecraft:item— spawns a dropped itemminecraft:tnt— spawns a TNT entity (it will explode!)minecraft:firework_rocket— launches a firework
Spawn a Mob
/summon minecraft:zombie ~ ~ ~1
Spawns a zombie 1 block in front of you. The ~1 on Z means 1 block south (forward).
NBT Tags — Customizing Your Spawns
This is where it gets interesting. You can add NBT (Named Binary Tag) data in curly braces to customize spawned entities. This is basically giving the entity a settings file when it spawns.
/summon minecraft:zombie ~ ~ ~1 {CustomName:""Bob"", CustomNameVisible:1}
Spawns a zombie named Bob with the name floating above its head.
/summon minecraft:zombie ~ ~ ~1 {IsBaby:1}
Spawns a baby zombie.
/summon minecraft:skeleton ~ ~ ~1 {HandItems:[{id:"minecraft:bow",Count:1}]}
Spawns a skeleton already holding a bow.
Spawn an Army
Combine /summon with a loop using command blocks (covered in Lesson 6), or just run it multiple times. Want 10 zombies around you?
/summon minecraft:zombie ~5 ~ ~
/summon minecraft:zombie ~-5 ~ ~
/summon minecraft:zombie ~ ~ ~5
/summon minecraft:zombie ~ ~ ~-5
Lightning Trick
/summon minecraft:lightning_bolt ~ ~ ~
Strikes lightning exactly where you're standing. Won't hurt you in creative mode. Useful for turning pigs into zombie pigmen or creating charged creepers.
The /kill Command
Summon too many? Clean up:
/kill @e[type=minecraft:zombie]
Kills all zombies. The [type=] is a selector filter — you can target specific entity types, names, distances, and more.
/kill @e[type=!minecraft:player]
Kills everything except players. The ! means "not".
Practice Challenges
- Spawn a named horse and tame it
- Create a "zombie arena" — fill a hollow box, then summon 10 zombies inside it
- Summon a lightning bolt on top of a creeper to make a charged creeper
- Spawn a villager and use NBT to give it a profession
- Kill all passive mobs (cows, pigs, chickens) without affecting hostile mobs