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

[Invalid/WAI] scoreboards of type "health" cannot be used as source in /scoreboard players operation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.2
    • None
    • Windows 11, Java 17
    • Unconfirmed
    • (Unassigned)

      When using a function like this:

      scoreboard objectives add health health
      execute store result score @s health run data get entity @s Health
      
      scoreboard players operation temp health = @s health
      

      I get this error:

      "scoreboard objective 'Health' is read-only"

      However, this usage of the scoreboard is read only, so it is odd that this would be the error I get.

            Unassigned Unassigned
            InQuognito InQuognito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: