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

Attribute modifier change color of item

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.13, Minecraft 1.13.1, 1.14.4, 19w37a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Since 1.13 the color of the "attribute modifier" of a sword is green. See screenshot 1.
      But if I use a command (/data merge, /give, /summon, etc.) with attribute modifier the color is blue. See screenshot 2.

      How to reproduce

      1. Use this command for example:
        /give @p minecraft:diamond_sword{AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Slot:"mainhand",Amount:7,Operation:0,UUIDMost:38229,UUIDLeast:114076},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Slot:"mainhand",Amount:1.6,Operation:0,UUIDMost:59048,UUIDLeast:159745}]}
        
      2. Look at the sword

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Hardel Hardel
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: