Mojira Archive
MC-121673

Rotation selector arguments do not allow max to be lower than min

Due to the continuous nature of rotations being interrupted by the sudden switch from negative to positive, it was convenient that those arguments in selectors would be moduloed properly to wrap, so one could do something like this:

/testfor @a[rym=80,ry=-60]

In the current version, the equivalent (/execute if entity @a[y_rotation=80..-60]) fails to build because "the minimum is greater than the maximum." In reality, it is not, because -60 should wrap to what amounts to 300.

Fixed

No User

[Mod] tryashtar

[Mojang] Searge (Michael Stoyke)

2017-11-08, 11:49 PM

2022-12-22, 02:03 PM

2018-05-17, 03:28 PM

26

12

Confirmed

command, rotation

Minecraft 17w45a - Minecraft 18w19bMinecraft 17w45a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w11a, Minecraft 18w19b

Minecraft 18w20c