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

Attribute AttackDamage and Sharpness Sword still shows the Amount of the Attribute in the tooltip.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.8.9, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 3, Minecraft 1.11.2, Minecraft 17w06a, 20w07a, 1.16.1
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      If you take a Sword with the AttributeModifier AttackDamage and set it for example to +6 (Amount: 6, Operation:0) and enchant it for example to sharpness lvl: 5, the tooltip will still show the amount of the attribute (+6)
      and not what it really causes damage when you hit an entity using it.

      /give @p diamond_sword{Enchantments:[{id:sharpness,lvl:5}],AttributeModifiers:[{AttributeName:generic.attack_damage,Amount:6,Slot:mainhand,UUID:[I;1,2,3,4]}]}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Nici900800 Nicolas Bachschwell
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: