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

spreadplayers command doesn't accept relative coords for x and z parameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w07a, Minecraft 14w11b, Minecraft 1.7.9, Minecraft 14w17a, Minecraft 14w21b, Minecraft 14w25a, Minecraft 14w25b
    • Fix Version/s: Minecraft 14w26a
    • Environment:
      Mac 10.8
    • Confirmation Status:
      Community Consensus

      Description

      Entering the spreadplayers command with relative (~) x and/or z coords causes a "NaN is not a valid number" error.

      Ex:
      /spreadplayers ~0 ~0 10 20 false @a

      This would be very useful for modular design, allowing players to be spread out relative to a given player/command block location, without being tied to a specific x/z location.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                searge [Mojang] Searge (Michael Stoyke)
                Reporter:
                berg Berg
              • Votes:
                9 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: