Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-107850

Command coordinate arguments only accept values with x=, y=, z=, and r= in front, even if the values are the first four arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 16w39b
    • None
    • Operating System: Windows 10
      Java Version: 1.8.0_101
    • Unconfirmed

      When a command is executed that tests for coordinate position, the x, y, z, and r values are only accepted if they have x=, y=, z=, and r= in front. This happens even if these four values are the first four arguments. According to the Minecraft Wiki, "If the first few arguments (up to four) are specified simply as values without identifying the arguments, they are assumed to be, in order, x, y, z, and r." I am not aware of any changes to this in recent snapshots, so I believe this to be a bug.

      The first photo shows a kill command that targets the creeper and uses coordinates WITHOUT the x=, y=, z=, and r= in front. Notice how the coordinates used are very far away from my current location, so the creeper should not be killed.

      The second photo shows the creeper dying when it should not be. The coordinates were effectively ignored from the previous photo.

      The third photo is like the first, except it uses the x=, y=, z=, and r= in front of the coordinates.

      The fourth photo shows an unharmed creeper and the command works like it should normally.

        1. 2016-09-29_16.08.06.png
          2016-09-29_16.08.06.png
          760 kB
        2. 2016-09-29_16.07.51.png
          2016-09-29_16.07.51.png
          777 kB
        3. 2016-09-29_16.07.34.png
          2016-09-29_16.07.34.png
          751 kB
        4. 2016-09-29_16.07.24.png
          2016-09-29_16.07.24.png
          767 kB

            Unassigned Unassigned
            Pickle_Lord Bob
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: