mojira.dev
MC-123152

/spreadplayers can put you inside a wall with high spread distance values

The bug

When issuing the following command

/spreadplayers ~10000 ~10000 50000 50001 true @s

with values higher than about 40.000 the server can teleport you into a wall. It might require multiple tries though.

Lower values appear to still function as intended.

[16:53:26] [Server thread/INFO]: [YT_Veritas0923: Spread 1 players around 0.5, 50000.5 with an average distance of 1797693134862315700..00.00 blocks apart]
[16:53:26] [Server thread/INFO]: YT_Veritas0923 suffocated in a wall
[16:53:47] [Server thread/INFO]: [YT_Veritas0923: Spread 1 players around 0.5, 500000.5 with an average distance of 1797693134862315700..00.00 blocks apart]
[16:53:47] [Server thread/INFO]: YT_Veritas0923 suffocated in a wall
...

Linked issues

Comments 2

Changed the summary a little bit, for me it does not happen that often, maybe 2 times in 20 tries

Is this also an issue on 1.12.2?

Nigel Todman

(Unassigned)

Confirmed

/spreadplayers

Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w02a

Retrieved