MiniBench

MiniBench / Learn / Commands

Command Bedrock Edition ~2 min read

The /summon command

Spawn an entity — mobs, armor stands, item frames, and more — wherever you want.

What it does

/summon creates an entity at a position. Use it to populate a build with animals, drop in an armor stand, place a boss for an arena, or trigger effects like lightning.

Syntax

summon <entityType> [x y z]
summon <entityType> <x y z> [yRot xRot] [spawnEvent] [nameTag]
summon <entityType> [nameTag] [x y z]
entityType
The entity id, e.g. cow, zombie, armor_stand, lightning_bolt (the minecraft: prefix is optional for vanilla).
x y z
Where to spawn it. Defaults to the command’s position.
spawnEvent
An optional event to apply on spawn, e.g. minecraft:as_baby.
nameTag
An optional name shown above the entity.

Examples

summon cow ~ ~ ~2

Spawn a cow two blocks ahead of you.

summon armor_stand ~ ~ ~

Drop an armor stand right where you stand.

summon zombie ~ ~ ~ 0 0 minecraft:as_baby

Spawn a baby zombie using a spawn event.

summon lightning_bolt ~ ~ ~

Strike lightning at the current position — great for dramatic effects.

See it in action

Before and after running /summon — in MiniBench's 3D preview and in Minecraft.

Command run

summon cow ~ ~ ~5
In Minecraft
Cows spawned with /summon in Minecraft (before)

Before

Cows spawned with /summon in Minecraft (after)

After

Not affiliated with Mojang or Microsoft. Minecraft is a trademark of Mojang Synergies AB.

Tips & techniques

Watch out for

Used in these tutorials

See /summon in action inside a full project walkthrough:

Write it in MiniBench with autocomplete and live validation, then run it in Minecraft.