Mojira Archive
MC-22586

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

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.

Fixed

Berg

[Mojang] Searge (Michael Stoyke)

2013-07-05, 09:19 PM

2020-07-17, 03:07 AM

2014-06-23, 11:48 PM

9

5

Community Consensus

command, spreadplayers

Minecraft 1.6.1 - Minecraft 14w25bMinecraft 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

Minecraft 14w26a