Commands/infobox
Summons an entity (mobs, projectiles, items, vehicles, etc.).
- Syntax
- Java Edition
summon <entity_name> [x] [y] [z] <dataTag>
- Bedrock Edition
summon <entityType: EntityType> [spawnPos: x y z]
- Arguments
- EntityName (BE: entityType: EntityType)
- Specifies the entity to be summoned. Must be an entity id (for example,
bat,horse,wither_skull,xp_orb,tnt, etc.) orlightning_bolt.
- Specifies the entity to be summoned. Must be an entity id (for example,
- x y z (BE: spawnPos: x y z) (optional[Java Edition only])
- Specifies the position to summon the entity. x and z must be between -30,000,000 to 30,000,000 (inclusive), and y must be at least 0. May use tilde notation to specify a position relative to the command's execution. If not specified, defaults to the position of the command's execution.
- dataTag (optional)[Java Edition only]
- Result
- Fails if the arguments are not specified correctly.
- On success, creates the specified entity at the specified position.
- Examples
- To summon a charged creeper named "Powered Creeper" at the current position:
summon creeper ~ ~ ~ {powered:1,CustomName:"\"Powered Creeper\""}- NOTE: CustomName is a JSON text component in 1.13
- To summon lightning 10 blocks west of the current position:
summon lightning_bolt ~-10 ~ ~
- To summon an armor stand wielding a lava bucket and wearing a skeleton skull:
summon armor_stand ~ ~ ~ {ArmorItems:[{},{},{},{id:skull,Count:1b}],HandItems:[{id:lava_bucket,Count:1b},{}]}
- To summon a Spider Jockey
summon Spider ~ ~ ~ {Passengers:[{id:Skeleton,HandItems:[{id:bow,Count:1b}]}]}
Main Article: Tutorials/Jockeys