#Attack damage for tool
1 messages · Page 1 of 1 (latest)
If you want to change the attack damage use NBT
add nbt compound of "{AttributeModifiers:[{AttributeName:""generic.attack_damage"",Amount:2,Operation:0,Slot:mainhand,UUID:[I;-42031124,10338,124332,-21426],Name:""generic.attack_damage""}]}" to nbt compound of {_pickaxe}
set {pickaxeTest} to {_pickaxe}```
p sure that would break attack speed though
Add another NBT for attack speed
Thanks
That works, but I can't find a way to do it for mining speed on pickaxes so I'll just go with enchanting them I guess
give the item an enchant with hidden flag
I will
this is what I usually do
Like this right?
add nbt compound of "{Enchantments:[{id:efficiency,lvl:2}],HideFlags:1}" to nbt compound of {pickaxe}
yes
also u could remove the compound there are optional
Ok
Right, but how can I format it with enchantment, name, lore and hidden flags in one line?
Here is an example:
set {_sword} to trident of Riptide 1 named "&9&lDrowned trident" with lore "&7RARE" with hidden enchants flag
Damn you set a variable named sword to a trident
the both do damgae ;D
add nbt compound of "{Size:20}" to nbt compound of last spawned slime
invalid line???