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

execute if/unless doesn't work separately for each target

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 17w50a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10 with Java 1.8, 64 bit
    • Confirmation Status:
      Unconfirmed

      Description

      Steps to reproduce.

      1. Put 2 Armor Stands on ground, and make one of them into any block that is not air using /setblock.
      2. Run this command:/execute as @e[type=armor_stand] at @s unless block ~ ~ ~ air run say @s
      3. then you find no output on chat screen.

      What I expect is the one IN block would give output, and the other would not. Conditions should be separated for each target that runs this command.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: