When I give an item an attribute it removes the attackSpeed. The attackDamage attribute does work as far as I tested. Adding an attackSpeed doesn't fix the issue. Thank you.
Command in question;
/give @a minecraft:iron_axe 1 0 {AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10.0,Operation:0,UUIDLeast:671851,UUIDMost:718339,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.9,Operation:0,UUIDLeast:601253,UUIDMost:804553,Slot:"mainhand"}],display:{Name:"DRAKONIAN AXE",Lore:["To greet those you love and murder those you hate!" ]},ench:[{id:34,lvl:10}]}
Test Command;
/give @a minecraft:diamond_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:1,Operation:0,UUIDLeast:953053,UUIDMost:575935,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.9,Operation:0,UUIDLeast:890391,UUIDMost:507755,Slot:"mainhand"}],display:{Name:"TEST"}}
Comments 3
Ok, My bad but that doesn't explain why there isn't a cooldown when you only add the attackDamage attribute.
The value of the attack speed attribute means "seconds per fully charged hit", highering the value makes it go slower, lowering it makes it go faster.