Mojira Archive
MC-122359

dx,dy,dz default to zero

from a search, it appears that this is already known, but there is no ticket for it.
This behavior is very unintuitive, the selector @e[dy=5] is equivalent to @e[distance=0], and it took a lot of experimentation to figure out why
Either it should be a syntax error to specify one or two of dx,dy,dz without all three, so you cannot get this unintuitive behavior, or dx,dy,dz should default to infinity, which would make them more cohesive

I don't like creating another ticket so similar to my previous one so soon, but I discovered this while testing that one, and it is a different issue.

Works As Intended

Ethan Peace

2017-11-23, 09:29 PM

2018-01-31, 04:06 AM

2017-11-23, 09:40 PM

0

1

Unconfirmed

command, selector

Minecraft 1.12.2 - Minecraft 17w47bMinecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b

-