The selector parameters distance
(except when only a minimum distance is specified such as distance=x..
), dx
, dy
, and dz
don't succeed for any entity when executing at a position outside the range -8388608 <= y < 8388608.
(8388608 is 2^23.)
Reproduction steps:
/summon interaction ~ 8388608 ~
/execute at @e[type=interaction] run say @e[type=interaction,dx=0]
# says nothing
/execute at @e[type=interaction] run say @e[type=interaction,distance=..1]
# says nothing
/execute at @e[type=interaction] run say @e[type=interaction,distance=0..]
# says Interaction
(The issue is not unique to execute at
; you can reproduce this with execute positioned
as well, or by teleporting there and avoiding execute
entirely.)
Attachments
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm:
[media]