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

Tooltip of items with AttributeModifiers is not providing enough information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w06a, Minecraft 18w05a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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.attackSpeed",Name:"generic.attackSpeed",Amount:-2.4000000953674316,Operation:0,UUIDLeast:886938,UUIDMost:310468,Slot:"mainhand"}]}
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
            • Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: