mojira.dev
MC-116746

@s selector ignores dx/dy/dz

To reproduce, run the following command in chat (while not 500 blocks in the air):

/say @s[y=500,dy=5]

Even though you do not match the region selector arguments, you will still be found. I would expect the player to only be found if they match all arguments, like with other arguments in the @s selector.

Comments 2

Shouldn't y=500 alone prevent the command from succeeding?

@unknown no, as you're not limiting the search area, only changing the y of the starting point.

SirBenet

michael

Confirmed

argument, position, selector

Minecraft 17w17b

Minecraft 17w18b

Retrieved