mojira.dev
MC-233599

/spreadplayers command does not allow for negative "under" values

The world height has been decreased from 0 to -64, yet the command height limit has not been updated to reflect this. The spreadplayers command does not allow for numbers under values less than 0 still, stating that the number must be above 0 even though the world generates lower now.

To reproduce

/spreadplayers ~ ~ 0 1 under -1 false @s

Comments 15

Can confirm in 1.17.1 with the Caves & Cliffs preview datapack. Likely the result the fix for MC-184699.

Just saying, this is not specific to the caves and cliffs data pack, any data pack which adds or changes dimensions to have negative coordinates be valid, is affected. Might want to check values over 256 as well.

Can confirm 1.18 pre release 6

Can confirm 1.18 pre release 7

Can confirm 1.18 pre release 8

5 more comments

Can confirm 1.18.1 candidate 1

Can confirm 1.18.1 candidate 2

Can confirm in 1.18.1

Fixed in future versions? I guess none of us can confirm it.

That just means next snapshot/pre-release/whatever, the version name gets changed once it gets released.

user-2a4c8

billysjoberg

Confirmed

Important

Commands

1.17.1, 1.18 Pre-release 5, 1.18 Pre-release 6, 1.18 Pre-release 7, 1.18 Pre-release 8, ..., 1.18, 1.18.1 Pre-release 1, 1.18.1 Release Candidate 1, 1.18.1 Release Candidate 2, 1.18.1

22w03a

Retrieved