Mojira Archive
MC-134575

Color of attribute modifiers in tooltips depends on their operation type

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 @s diamond_sword{AttributeModifiers:[{AttributeName:"generic.attack_damage",Slot:"mainhand",Amount:7,Operation:0,UUID:[I;1,2,3,4]},{AttributeName:"generic.attack_speed",Slot:"mainhand",Amount:1.6,Operation:0,UUID:[I;5,6,7,8]}]}
    
  2. Look at the sword

Unresolved

Hardel

2018-07-22, 04:27 PM

2024-11-10, 12:57 AM

6

1

Confirmed

(Unassigned)

Minecraft 1.13 - 24w18aMinecraft 1.13, Minecraft 1.13.1, 1.14.4, 19w37a, 20w49a, 1.16.5, 21w06a, 21w08b, 21w15a, 1.20.6, 24w18a

-