mojira.dev
MC-210872

Custom-made diamond weapons still show the same Attack Damage attribute when upgrading to netherite, despite the Attack Damage gets increased

Custom-made diamond weapons still show the same Attack Damage attribute when upgrading to netherite.

Steps to reproduce:

1.  

/give @p diamond_sword{AttributeModifiers:[{AttributeName:"generic.attack_damage",Amount:7,Operation:0,UUID:[I;-12108,30219,133832,-60438],Slot:mainhand,Name:"generic.attack_damage"},{AttributeName:"generic.attack_speed",Amount:1024,Operation:0,UUID:[I;-12108,30219,133832,-60438],Slot:mainhand,Name:"generic.attack_speed"}]} 1

2. Upgrade the weapon to netherite

❌  It still shows Attack Damage: 7

3. Summon a spider

4. Kill it with the sword that you upgraded

✔  The spider gets killed in 2 hits as expected, so it is just a visual UI issue.

 

Possible fix:

Make diamond tools and weapons always receive +1 Attack Damage point if they get upgraded to netherite.

Comments 7

Can confirm in 21w03a.

The premise here is incorrect. The attack damage of the custom sword is actually unaffected by the netherite upgrade. The sword deals 8 damage both before and after upgrading, so the "+7 Attack Damage" tooltip is accurate.

W_V

(Unassigned)

Community Consensus

Platform

Low

Commands, Data Packs, UI

20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, ..., 1.17 Pre-release 1, 1.17, 1.17.1, 1.18, 1.18.1

Retrieved