mojira.dev
MC-78450

ry= and rym= are broken, they appear to affect negative Horizontal Rotations all weird and broken (tested and duplicated on both vanilla multiplayer and vanilla singleplayer)

The target selectors ry= and rym= appear to be broken. I tested the following target selectors with both @p and @a in both a command block and in the chat bar.

[ry=-90]
Applies to targets with Horizontal Rotation greater than 0 or less than -89.0 (including all positive numbers)
This target selector is supposed to select only targets with a maximum Horizontal Rotation of -90

[ry=90]
Applies to targets with Horizontal Rotation between 0.1 to 90.9
This target selector is supposed to select only targets with a maximum Horizontal Rotation of 90

rym=90
Applies to targets with Horizontal Rotation greater than 90.0 or less than 0.1 (including all negative numbers)
This target selector is supposed to select only targets with a minimum Horizontal Rotation of 90

rym=-90
Applies to targets with Horizontal Rotation between 0 and -89.9
This target selector is supposed to select only targets with a minimum Horizontal Rotation of -90

Notes:
This bug is likely the cause of this person's problem MC-72378

When I used these target selectors in a chat bar while no one was facing a valid direction, the server would respond "The entity UUID provided is in an invalid format". Not sure if that's relevant.

Linked issues

Comments 1

This bug is likely the cause of this person's problem

Then please don't create a duplicate - add the information to the original ticket.

Cael Hansen

(Unassigned)

Unconfirmed

Minecraft 1.8.3

Retrieved