/summon
Summons an entity.
Syntax
summon <entity> [<pos>] [<rot>]
summon <entity> [<pos>] [facing <target>]
Arguments
<entity>
String (entity ID or alias)
Specifies the entity to be summoned. You can include the entity's staticdata in [square brackets]. If an entity alias is used, and the alias matches multiple different entities, chooses a random one.
<pos>
Position
Specifies the position to summon the entity. If not specified, defaults to the position of the command's execution.
<rot>
Rotation
Specifies the rotation (yaw and optionally pitch) of the summoned entity. If not specified, defaults to the rotation of the command's executor.
<target>
Selector
Specifies the entity the summoned entity should face.
Examples
To summon a zombie 10 blocks west of the current position of the executing player:
summon mobs_mc:zombie ~-10 ~ ~
To summon a zombie 5 nodes in front of the executor, facing the executor:
summon zombie ^ ^ ^5 facing @s
To summon a zombie 5 nodes behind the executor, facing north:
summon zombie ^ ^ ^-5 0
History
v1.0
Added /summon
Last updated