mojira.dev
MC-69042

/summon coordinate syntax should be different

The summon command syntax is:
/summon <EntityName> [x] [y] [z] [dataTag]

this suggests that if I only include the [x] and not the [y] [z] [dataTag], the command should operate differently to just /summon <EntityName>.

This is not the case though, if you wish to change only the x you would need to enter the y and z.
So I would recommend one of two options:

  • Change the syntax of the 3 coordinates to that of the /spawnpoint 3 coordinates like: [<x> <y> <z>], suggesting the requirement of all three coordinates together as an argument or none of the three.

  • Keep the current syntax, but if the player only enters, for example, ~5, for [x], assume the y and z are relative (~) and summon the entity 5 blocks in the positive x direction (currently, /summon Creeper ~5 just summons the Creeper where the player is).

Linked issues

Attachments

Comments 5

This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.

This must stay the same way it is, otherwise if the dataTag is required, and not shown as usgae, how would the player know they needed them?

Some of the tags are optional, but are required if you want to customize the entity.

To be honest the way Minecraft currently (version 1.8.8) handles the /summon command is strange at all. You can use for example /summon Sheep -test -test and it will summon a Sheep at your position, only if you give a third coordinate argument it will actually use all three of them

Isn't this a valid report?

This is not a duplicate of MC-80856. MC-80856 is about the fact that the arguments are not marked correctly.
The /summon command has the arguments marked correctly but like I write before acts strange when you provide less than 3 coordinates

Arran O'Sullivan

(Unassigned)

Confirmed

Minecraft 1.8-pre1, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.11

Minecraft 17w45a

Retrieved