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

limit selector does not detect nearest entity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.13, Minecraft 18w30b
    • None
    • Unconfirmed

      When the selector "limit" is used (selector "c" in 1.12), the selector have to select the nearest entity but it select the oldest entity.

       For example, if you spawn pigs in a flatgrass and use the command : /effect give @e[type=pig,limit=1] glowing 10 , the command ingore the player's position and glow the first pig which appeared.

      This issue is really problematic for every automatic systems which need to target a limited number of entities.

            Unassigned Unassigned
            Liam36487 Liam FRAISSE
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: