I'm making a little game in my world, and I'm making Armor sets, and I made a Light Armor Set, and I expected for the Speed to stack up to 40%, but instead it only stayed at 10%.
Here is the Command:
/give @p 298 1 0 {display:{Name:"Light Leather Cap"},ench:[{id:34,lvl:100}],AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"name",UUIDLeast: -10000, UUIDMost: 10000, Operation: 1, Amount: 0.10}]}
Did this for all pieces of Leather armor and I equiped them and the Speed attributes wouldn't stack, It's the same for Health attributes!
Linked issues
Comments 7
/give @p 298 1 0 {display:{Name:"Light Leather Cap"},ench:[{id:34,lvl:100}],AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"fast",UUIDLeast: -10000, UUIDMost: 10000, Operation: 1, Amount: 0.10}]}
I did the same command for every other piece of Leather Armor and I equipped them and they didn't stack up to 40%
Confirmed... also ther's a secondary issue that when you remove one piece of the custom armor, the speed affect goes away (i.e. the other peices of armor with the same attribute are ignored).
As of 16w05b (1.9 snapshot) this is still a problem that really should be dealt with especially since team Mojang have been modifying the attributes behaviour earlier this update (With the slot tag).
I don't know how bug reports are dealt with, but would it be worth reposting this bug to bring it to team mojang's attention again?
What is still a problem? Attributes with the same UUID deliberately don't stack. If you want two instances to stack, give them each different UUIDs.
Bugs should not generally be reposted, especially "to bring it to team mojang's attention". That just means another report that's going to be marked as a duplicate of an existing report, like this one, which is a duplicate of MC-16466. If a particular bug is still occurring after it has been marked fixed, we can reopen the report.
Oh, so thats how UUIDs work. When I first started using attributes I was told that you need a different UUID per attribute (Which I interpreted as 1 for health, 2 for speed etc.) hence when I made a full set of iron armour with 10% less speed each I gave them all the same UUID. Thanks for that 😃
I figured that would be the response to reposting. Just thought it was odd seeing this bug report untouched since 2014 and still seemingly being an issue.
Please attach the exact commands you've used (enclosed in
{code}
tags)