Mojira Archive
MC-113552

Tooltip of items with AttributeModifiers is not providing enough information

The bug

The tooltip of an item with AttributeModifiers shows only something like "+120% Attack Damage" which is not really helpful when you don't know how much attack damage the item had at the beginning.

Expected behavior

It would probably be best if it showed always the attribute values as absolute value after applying the modifiers. This would solve the missing distinction for operation 1 and 2 (both being for example "+120% Attack Damage") as well.

How to reproduce

A good example showing that the currently displayed information is not helpful is MC-124662:
The following sword has the same attack speed like a default sword, but the tooltip says "-2.4 Attack Speed":

/give @s minecraft:diamond_sword{AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-2.4,Operation:0,UUID:[I;1,2,3,4],Slot:"mainhand"}]}

Unresolved

Marcono1234

2017-02-10, 05:40 PM

2024-05-07, 12:56 AM

10

2

Confirmed

(Unassigned)

attribute, item, item-description, tooltip

Minecraft 1.11.2 - 1.19Minecraft 1.11.2, Minecraft 17w06a, Minecraft 18w05a, 1.15.2, 20w07a, 20w49a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w08b, 21w17a, 1.17, 1.17.1, 1.19

-