Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-121673

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w20c
    • Minecraft 17w45a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w11a, Minecraft 18w19b
    • Windows 10
    • Confirmed

      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.

            searge [Mojang] Searge (Michael Stoyke)
            NoUser No User
            Votes:
            26 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: