![]() |
VOOZH | about |
/summon| Permission level required |
|
|---|---|
| Restrictions | Cheat only[BE only] |
{
"title": "<code>/summon</code>",
"rows": [
{
"field": "\n* 2 <sup class=\" nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Java Edition\">(link to Java Edition article, displayed as JE) only</span></i>]</sup>\n* 1 <sup class=\" nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Bedrock Edition\">(link to Bedrock Edition article, displayed as BE) only</span></i>]</sup>",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "(link to Cheat article, displayed as Cheat) only<sup class=\" nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Bedrock Edition\">(link to Bedrock Edition article, displayed as BE) only</span></i>]</sup>",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Summons an entity.
summon <entity> [<pos>] [<nbt>]summon <entityType: EntityType> [spawnPos: x y z] [yRot: value] [xRot: value] [spawnEvent: string] [nameTag: string]summon <entityType: EntityType> <nameTag: string> [spawnPos: x y z]summon <entityType: EntityType> [spawnPos: x y z] facing <lookAtEntity: target> [spawnEvent: string] [nameTag: string]summon <entityType: EntityType> [spawnPos: x y z] facing <lookAtPosition: x y z> [spawnEvent: string] [nameTag: string]JE: <entity>: resource
BE: entityType: EntityType: enum
minecraft:entity_type registry. In Bedrock Edition, must be an ID of an entity type.JE: <pos>: vec3
BE: spawnPos: x y z: CommandPositionFloat
JE: <nbt>: nbt_compound_tag
BE: yRot: value: RelativeFloat and xRot: value: RelativeFloat
BE: lookAtEntity: target: CommandSelector<Actor>
BE: lookAtPosition: x y z: CommandPositionFloat
BE: spawnEvent: string: basic_string
\ can be used to escape characters).BE: nameTag: string: basic_string
\ can be used to escape characters).| Command | Trigger | Java Edition | Bedrock Edition |
|---|---|---|---|
| Any | The command is incomplete, or any argument is not specified correctly. | Unparseable | Unparseable |
entityType: EntityType is not an entity type that is allowed to be summoned. | N/A | Unparseable | |
<entity> is minecraft:player or minecraft:fishing_bobber. | Failed | N/A | |
| Specified position is unloaded. | Failed | ||
| Trying to summon hostiles in peaceful difficulty. | Successful | ||
| Attempting to summon an entity with an identical UUID with an existing entity. | Failed | N/A | |
| The <X> or <Z> arguments exceed the range of [-30000000, 30000000), or the <Y> argument exceeds the range of [-20000000, 20000000). | Successful | ||
| Otherwise | Successful | ||
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| Any | Java Edition | On fail | 0 | 0 | 0 |
| On success | 1 | 1 | 1 | ||
| Bedrock Edition | On fail | 0 | N/A | N/A | |
| On success | 1 | N/A | N/A |
summon lightning_bolt ~-10 ~ ~ summon creeper ~ ~ ~ {powered:true,CustomName:'"Powered Creeper"'} summon item ~ ~ ~ {Item:{id:"minecraft:diamond_pickaxe",count:1,components:{"minecraft:unbreakable":{}}}}summon spider ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",HandItems:[{id:"minecraft:bow",count:1}]}]}summon evoker ~ ~ ~ {Rotation:[-90f,0f],NoAI:1}summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"minecraft:dirt",count:1},sell:{id:"minecraft:diamond",count:5},rewardExp:false}]}}summon zombie ~ ~ ~ {IsBaby:true,active_effects:[{id:"minecraft:speed",amplifier:1b,duration:-1,show_particles:true}]}summon tnt ^ ^ ^5 {Glowing:true,fuse:600s,explosion_power:0.0f}| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.7.2 | 13w36a | Added /summon. | |||||
| 1.8 | 14w30a | /summon can now spawn lightning. | |||||
| 1.16 | 20w06a | /summon now cannot summon an entity with a position where <x> or <z> exceeds the range of [-30000000, 30000000), or <y> exceeds the range of [-20000000, 20000000) | |||||
| 20w11a | /summon now gives permission to summon Fireball. | ||||||
| 1.19.3 | 22w42a | <entity> now accepts a resource argument, instead of entity_summon. | |||||
| 1.21.9 | 25w31a | The command now fails when trying to summon monsters while the difficulty is set to Peaceful. | |||||
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.16.0 | build 1 | Added /summon. | |||||
| Bedrock Edition | |||||||
| 1.19.40 | Preview 1.19.40.21 | Added new overload to the /summon command that adds rotation arguments. | |||||
| Preview 1.19.40.23 | Temporarily disabled the rotation for the /summon command while a bug is worked on. | ||||||
| 1.19.70 | Preview 1.19.70.23 | Re-added the rotation arguments. | |||||
| 1.19.80 | Preview 1.19.80.20 | Added facing argument. | |||||
/summon Command" – Microsoft Learn, August 1, 2024.