mojira.dev
MC-54933

Cuboid Target Selector Not Functioning as Intended

Cuboid Target Selector does not appear to be working properly.

For example, I can get this to work:
/kill @a[x=-1208,y=2,z=410,r=1]

but not this:
/kill @a[x=-1208,y=2,z=410,dx=-1177,dy=2,dz=441]

or this:
/kill @a[x=-1208,y=2,z=410,dx=~31,dy=~2,dz=~31]

or even this:
/kill @a[x=10,y=~0,z=-20,r=1]

However, Relative and Absolute coordinates work just fine when not being used in target selectors.

For example:
/execute @a ~ ~-1 ~ testforblock ~ ~ ~ minecraft:coal_block

Comments 3

Can confirm. In 14w18b, have not tried 14w19a though

Dx stands for "delta x" or "the distance along the x axis" taken by calculating the difference of the two endpoints. This number by definition is positive. In commands, the lower vertex is ALWAYS specified first.

woops, sorry, had a noob moment there... thanks for the clarification!

n00b_asaurus

(Unassigned)

Unconfirmed

Minecraft 14w19a

Retrieved