mojira.dev
MCPE-179430

Coordinate target selector argument (x, y, z) works weirdly with distance argument (r, rm)

Steps to Reproduce
1. Place a repeating command block and type{{say @p[x=0,y=0,z=0,r=1]}}
2. Place a lever and activate it
3. Walk around the set coordinate (0, 0, 0)

Expected Result
It says your name when you on the exact coordinate

Observed Result
It says your name in a 2x2 area

Comments 6

If you use r=1, that will be a distance of 1 in every direction around the given x/y/z coordinate. So that will go from x = -1 to +1 and z = -1 to +1, which would be a 2x2 area.
Does it work for you if you set r=0, or use dx/dy/dz values instead?

If you use r=1, that will be a distance of 1 in every direction around the given x/y/z coordinate. So that will go from x = -1 to +1 and z = -1 to +1, which would be a 2x2 area.
Does it work for you if you set r=0, or use dx/dy/dz values instead?

Hello Moderator,
It's actually 1 block radius but little bit offset from the set coordinate (around 0.5 block offset I think). It's doesn't matter if I change the value to .00 (like 0.00) it's still the same

Hello Moderator,
It's actually 1 block radius but little bit offset from the set coordinate (around 0.5 block offset I think). It's doesn't matter if I change the value to .00 (like 0.00) it's still the same

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, could you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Xaverio

(Unassigned)

Unconfirmed

Android

Android 13

1.20.62 Hotfix

Retrieved