mojira.dev

The attack speed tag doesnt work on items/swords anymore

This is the command i use for the attack speed

/give playername minecraft:diamond_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.6,Operation:0,UUIDLeast:894654,UUIDMost:2872,Slot:"mainhand"}]}

Comments 7

Did you tried to press ESC>Options>Video Settings>Attack Indicator:Crosshair/hotbar? Maybe you have it off

yes i have Michael but its way faster than it should be even with swords/axe's and the other tools

cannot reproduce, how did you obtain them? commands? if so please attach the exact command used

confirmed with command given, switching uuidleast/most doesn't help (thought that might have been the problem)

Maybe the 'Slot' is the problem... I didn't see it in other attributes, so the 'Slot' might be it, the wrong tag placement or the fact, that you put quotation marks in the 'Name' and 'AttributeName' tags...
The tag placement i use:

[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:0.5, AttributeName:generic.attackSpeed,Name:AttackSpeed}]

the slot tag is saying in which slot it gied the effect, so in this case only the main hand, the quotes should even make the "json" strickter

oooouuuh... so thats... nvm

demian danen

(Unassigned)

Unconfirmed

Minecraft 15w38a, Minecraft 15w38b

Retrieved