using the dx,dy and dz argument selectors does not allow ranges. EDIT: after more testing, I have realized I cannot get the dx,dy,dz selectors to function at all, although they parse
I have realized that there are two different ways you could implement the ranges, signed and unsigned. Unsigned ranges are more intuitive
A signed range would be e.g. @e[dy=-3..7], for 3 blocks below and 7 above, an unsigned range would only allow comparing absolute distance.
Having signed ranges and some way to have range unions (and maybe negations) would be the most powerful way to resolve this
Linked issues
is duplicated by 1
Comments 4
That's not true, dxyz
still exist and xyz
are not ranges. Otherwise it would be impossible to select entities in a region relative to another entity.
dx
,dy
anddz
have been removed and have been replaced by ranges. Instead of@a[x=1,dx=2]
, use@a[x=1..2]
. So, the bug actually is thatdx
etc. are parsed and there is no error thrown.