Attribute AttackDamage and Sharpness Sword still shows the Amount of the Attribute in the tooltip.
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]}]}
2016-02-10, 04:24 PM
2023-11-07, 10:02 AM
2023-11-07, 10:02 AM
2
4
-