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

The sort modifier when targeting entities is reversed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.13.1
    • None
    • OS: Windows 10 Pro Edition

      Java: Version 8 Update 171

      On 1.13+ Server
    • Unconfirmed

      When using the command
      /execute as @e[type=armor_stand] at @s facing entity @e[sort=furthest,type=pig] eyes run tp ^ ^ ^1

      it teleports the armor stand towards the nearest pig. But when you switch it to

      /execute as @e[type=armor_stand] at @s facing entity @e[sort=nearest,type=pig] eyes run tp ^ ^ ^1

      it teleports to the furthest pig.

       

      Video Proof: https://www.youtube.com/watch?v=AuIf6p0jV-g

            Unassigned Unassigned
            MichaelMiner137 Michael
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: