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

"limit" selector gets "fixed" on an entity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: Minecraft 1.13-pre6
    • Fix Version/s: None
    • Labels:
    • Environment:
      Java 8 

      Windows 10
    • Confirmation Status:
      Unconfirmed

      Description

      An exemple will allow me to be better undestood :

      There is two entites. Let's take Armor Stands. The player enters a command to make the nearest entity to him say "Hi".

      /execute as @e[limit=1,type=minecraft:armor_stand] run say Hi
      

      At first, the command is executed sucessfully. But if the player moves to the second entity (who became the nearest to the player) and execute the command, the first Armor Stand will say Hi.

      So the first entity keep being detected as the nearest one to the player, even if he is physically not.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ZenoWhite ZenoWhite
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: