Better Commands
Better Commands
  • Home
  • Commands
    • /ability
    • /bc
    • /clear
    • /clearspawnpoint
    • /damage
    • /enchant
    • /execute
    • /forceenchant
    • /gamemode
    • /gamerule
    • /give
    • /kill
    • /me
    • /msg
    • /old
    • /playsound
    • /remove
    • /say
    • /scoreboard
    • /setblock
    • /spawnpoint
    • /summon
    • /team
    • /teammsg
    • /teleport
    • /time
    • /trigger
  • Target Selectors
  • Data types
  • Entity Aliases
  • Scoreboard
Powered by GitBook
On this page
  • Syntax
  • Arguments
  • Examples
  • History
Edit on GitHub
  1. Commands

/summon

Summons an entity.

Previous/spawnpointNext/team

Last updated 1 year ago

Syntax

summon <entity> [<pos>] [<rot>]

summon <entity> [<pos>] [facing <target>]

Arguments

<entity> (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>

Specifies the position to summon the entity. If not specified, defaults to the position of the command's execution.

<rot>

Specifies the rotation (yaw and optionally pitch) of the summoned entity. If not specified, defaults to the rotation of the command's executor.

<target>

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

Version
Action

v1.0

Added /summon

Selector
String
Position
Rotation