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
- 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]}]} - Look at the sword
2018-07-22, 04:27 PM
2024-11-10, 12:57 AM
6
1
-