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

@e Selector in /scoreboard "operation" Issues Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w47c
    • Minecraft 14w28b, Minecraft 14w29a, Minecraft 14w29b, Minecraft 14w30a, Minecraft 14w30b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 14w33a, Minecraft 14w33b, Minecraft 14w33c, Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1
    • None
    • Community Consensus

      Using the @e selector in place of "<selector>" in the following:

      /scoreboard players operation <targetName> <targetObjective> <operation> <selector> <objective>

      Will issue the "entity UUID provided is in an invalid format" error, so long as the selector is not targeting a player:

      /scoreboard players operation @e OBJECTIVE += @e[type=!Player] OBJECTIVE

      Essentially meaning you cannot apply scoreboard operations against entities using another entity's score, which worked in previous snapshots. If replacing "<targetName>" with a selector capable of only targeting a player will work as expected:

      /scoreboard players operation @p OBJECTIVE += @e[type=!Player] OBJECTIVE

            Unassigned Unassigned
            skylinerw [Mod] Skylinerw
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: