Minecraft Attack Damage change 1.16?

ai
2

I want to change the attack damage of a Diamond-Hoe in 1.16 with a command block or give me one. Does anyone know a command with which you can change the attack damage in 1.16 (a command for a sword or something similar is enough for me).

cl

Give @s diamond_hoe {AttributeModifiers: [{AttributeName: "generic.attack_damage", Name: "generic.attack_damage", Amount: 20.0, Operation: 0, UUID: [I; 42853, 1689024593, -201178, -1559272105]}]} 1

According to Minecraft Wiki, the UUID should be chosen randomly. You set the added value with Amount. If you prefer to multiply the value instead of adding it, change operation to 1.

ai

Thank you very much