mojira.dev
MCPE-160997

/Spreadplayers is off centered

When Using Spreadplayers, The Spread Area Is Off Centered From The Center Location.

Steps to Reproduce:

1. Create A Flat World With Upcoming Creator Features
1. Run /spreadplayers 0 0 0 4 @e[type=armor_stand] in a repeating command block
2. Spawn An Armor Stand

To Visualize Areas Spread To
1. Run /setblock 0 -50 0 diamond_block

4. Run /execute as @e[type=armor_stand] at @s run fill ~ -50 ~ ~ -50 ~ emerald_block 0 replace air in a repeating command block.

Observed Results:

Spreadplayers center is not centered

Expected Results:

Area Should Be Centered, By Spreading Out 4 Blocks From Selected Area

Screenshots/Videos:

[media]

Example On How Spreadplayers is Off centered

Attachments

Comments 2

The X=0, Z=0 coordinates you are spreading from would be the "northwest" corner of the diamond block, so it appears that the associated blocks are centered on that corner.
What happens if you try /spreadplayers 0.5 0 0.5 4 ... instead to use the "center" of the diamond block?

This report has been temporarily closed as Awaiting Response. It will automatically reopen when you comment with new information. Please be sure to provide all requested information. Reports that do not contain enough information may be closed as Incomplete.

When using 0.5 0.5 0 4, it works as intended. thanks for helping out!

Free_World

(Unassigned)

Unconfirmed

Multiple

Windows 11 Pro 22000.856

spreadplayers

1.19.30.21 Preview, 1.19.20

Retrieved