Attack Damage in weapon description is not calculated from modified base damage attribute, unlike attack speed
This issue relates to the display of stats in tool/weapon descriptions. As far as i have tested, it does not have an impact on how much damage is actually dealt.
Wooden Sword
+3 Attack Damage
-2.4 Attack Speed
Player's Base Stats (Modified using /attribute for the purpose of showing the bug)
10 Attack Damage (Normally 1)
10 Attack Speed (Normally 4)
Combined Stats
13 Attack Damage
7.6 Attack Speed
As you can see from the attached image, Attack Speed is correctly displayed, whilst Attack Damage is not. Note that this bug is encountered in both creative and survival, as the increased damage from the Strength buff is not listed either.
Commands used
/attribute @s minecraft:generic.attack_damage base set 10
/attribute @s minecraft:generic.attack_speed base set 10
Linked Issues
Created Issue:
Attack Speed is correctly listed in weapon description whilst Attack Damage is not
This issue relates to the display of stats in tool/weapon descriptions. As far as i have tested, it does not have an impact on how much damage is actually dealt.
Wooden Sword
+3 Attack Damage
-2.4 Attack SpeedPlayer's Base Stats (Modified using /attribute for the purpose of showing the bug)
-1 Attack Damage (Normally 1)
10 Attack Speed (Normally 4)Combined Stats
2 Attack Damage
7.6 Attack SpeedAs you can see from the attached image, Attack Speed is correctly displayed, whilst Attack Damage is not. Before you ask, this does not relate to the fact that the base Attack Damage has been set to a negative value, as positive values greater than normal (Ex. 10) shares the same display result as a negative. Note that this bug is encountered in both creative and survival, as the increased damage from the Strength buff is not listed either.
Duplicate of MC-113552
This issue relates to the display of stats in tool/weapon descriptions. As far as i have tested, it does not have an impact on how much damage is actually dealt.
Wooden Sword
+3 Attack Damage
-2.4 Attack SpeedPlayer's Base Stats (Modified using /attribute for the purpose of showing the bug)
-1 Attack Damage (Normally 1)
10 Attack Speed (Normally 4)Combined Stats
2 Attack Damage
7.6 Attack SpeedAs you can see from the attached image, Attack Speed is correctly displayed, whilst Attack Damage is not. Before you ask, this does not relate to the fact that the base Attack Damage has been set to a negative value, as positive values greater than normal (Ex. 10) shares the same display result as a negative. Note that this bug is encountered in both creative and survival, as the increased damage from the Strength buff is not listed either.
Commands used
/attribute @s minecraft:generic.attack_damage base set -1
/attribute @s minecraft:generic.attack_speed base set 10**
This issue relates to the display of stats in tool/weapon descriptions. As far as i have tested, it does not have an impact on how much damage is actually dealt.
Wooden Sword
+3 Attack Damage
-2.4 Attack SpeedPlayer's Base Stats (Modified using /attribute for the purpose of showing the bug)
-1 Attack Damage (Normally 1)
10 Attack Speed (Normally 4)Combined Stats
2 Attack Damage
7.6 Attack SpeedAs you can see from the attached image, Attack Speed is correctly displayed, whilst Attack Damage is not. Before you ask, this does not relate to the fact that the base Attack Damage has been set to a negative value, as positive values greater than normal (Ex. 10) shares the same display result as a negative. Note that this bug is encountered in both creative and survival, as the increased damage from the Strength buff is not listed either.
Commands used
/attribute @s minecraft:generic.attack_damage base set -1
/attribute @s minecraft:generic.attack_speed base set 10**This issue relates to the display of stats in tool/weapon descriptions. As far as i have tested, it does not have an impact on how much damage is actually dealt.
Wooden Sword
+3 Attack Damage
-2.4 Attack SpeedPlayer's Base Stats (Modified using /attribute for the purpose of showing the bug)
-1 Attack Damage (Normally 1)
10 Attack Speed (Normally 4)Combined Stats
2 Attack Damage
7.6 Attack SpeedAs you can see from the attached image, Attack Speed is correctly displayed, whilst Attack Damage is not. Before you ask, this does not relate to the fact that the base Attack Damage has been set to a negative value, as positive values greater than normal (Ex. 10) shares the same display result as a negative. Note that this bug is encountered in both creative and survival, as the increased damage from the Strength buff is not listed either.
Commands used
/attribute @s minecraft:generic.attack_damage base set -1
/attribute @s minecraft:generic.attack_speed base set 10
AttackSpeed is correctly listed in weapon description whilst Attack Damage is notAttack Damage in weapon description is not calculated from modified base damage attribute, unlike attack speed
This issue relates to the display of stats in tool/weapon descriptions. As far as i have tested, it does not have an impact on how much damage is actually dealt.
Wooden Sword
+3 Attack Damage
-2.4 Attack SpeedPlayer's Base Stats (Modified using /attribute for the purpose of showing the bug)
-1 Attack Damage (Normally 1)
10 Attack Speed (Normally 4)Combined Stats
2Attack Damage
7.6 Attack SpeedAs you can see from the attached image, Attack Speed is correctly displayed, whilst Attack Damage is not.
Before you ask, this does not relate to the fact that the base Attack Damage has been set to a negative value, as positive values greater than normal (Ex. 10) shares the same display result as a negative.Note that this bug is encountered in both creative and survival, as the increased damage from the Strength buff is not listed either.Commands used
/attribute @s minecraft:generic.attack_damage base set-1
/attribute @s minecraft:generic.attack_speed base set 10This issue relates to the display of stats in tool/weapon descriptions. As far as i have tested, it does not have an impact on how much damage is actually dealt.
Wooden Sword
+3 Attack Damage
-2.4 Attack SpeedPlayer's Base Stats (Modified using /attribute for the purpose of showing the bug)
10 Attack Damage (Normally 1)
10 Attack Speed (Normally 4)Combined Stats
13 Attack Damage
7.6 Attack SpeedAs you can see from the attached image, Attack Speed is correctly displayed, whilst Attack Damage is not. Note that this bug is encountered in both creative and survival, as the increased damage from the Strength buff is not listed either.
Commands used
/attribute @s minecraft:generic.attack_damage base set 10
/attribute @s minecraft:generic.attack_speed base set 10
relates to
Can confirm: 1.19.4: rc1
is duplicated by
Thank you for your report!
We're tracking this issue in MC-196250, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

It isn't a duplicate of MC-113552
MC-113552 relates to items with custom modifiers (Acquired via commands) displaying those modifiers instead of the player's actual stats. This issue relates to unmodified vanilla items (Acquired via Survival gameplay or Creative Inventory) displaying incorrect values, specifically the Attack Damage attribute.
How do you know a wooden sword does 3 damage instead of 4?
Players have a base Attack Damage of 1, this is why you can punch mobs with a bare hand and deal 1 damage. With a Wooden Sword, players deal 4 damage. 4 - 1 = 3, so a Wooden Sword adds 3 Attack Damage.
So it's correct
No, as it says in the report, i used /attribute to change my Attack Damage base from 1 to -1, therefore the calculation would be -1 + 3 = 2, and 2 would be the correct display value, while 4 is wrong.
Can you provide the attribute command used so people can reproduce this?
The commands i used can now be found at the end of the report.
I can confirm that this is still present in 20w51a.
Confirmed and updated the report to be a bit easier to understand
Sorry for the messy report, english is not my first language. Thank you for editing it.
Still present in 21w03a.
Still present in 21w05a.
Still present in 21w07a.
Still present in 21w08a.
Can confirm in 1.16.5.
Can confirm in 21w11a.
Can confirm in 21w13a.
Can confirm in 1.17.
Can confirm in 1.19.3 and 23w06a
Affects 1.20.6 and 24w18a:
Related to MC-134575