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

execute score comparison

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 17w47b
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 8.1
      java 1.8.0_25 64bit
    • Confirmation Status:
      Unconfirmed

      Description

      1. Add scoreboard objective "s" (dummy)
      2. Summon >2 armor_stands
      3. Set players score to 1
      4. Set score of one armor_stand to 1
      5. Run this command: /execute as @e[type=armor_stand] run execute as @s if score @s s = @p s run say hi
      -> it doesn't run "say hi"
      6. Kill all armor_stand exept for the one with score = 1
      7. Run execute command (above) again
      -> it outputs "hi"

      Question: shouldn't this execute command do the same as the one above? it doesn't work either.
      /execute as @e[type=armor_stand] if score @s s = @p s run say hi

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              NOPEname NOPEname
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: