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

damage tag on arrows cannot be set to non-integer numeral if set from integer numeral in scoreboard value.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.17.1
    • Unconfirmed
    • (Unassigned)

      How to recreate

      1. create any scoreboard objective and set any entity to have a value of 1500 in that scoreboard

      2. shoot/summon an arrow
      3. do the command, "/execute as @e[type=arrow,limit=1] store result entity @s damage double 0.001 run scoreboard players get @p <scoreboard objective name>
      4. get the damage value of the arrow (/data get entity @e[type=arrow,limit=1] damage
      5. notice how it is 1.0d, instead of being 1.5d

            Unassigned Unassigned
            Ihasdisconnected minecraft player
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: