mojira.dev
MC-175453

AttributeModifiers not working

If AttributeModifiers is set attackspeed or attackdamage, item does not function properly.

used command is:

give @p stone_axe{AttributeModifiers:[

{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-2.4,Operation:0,UUIDLeast:1,UUIDMost:10,Slot:"mainhand"}

,{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:11,UUIDMost:20,Slot:"mainhand"}]}

The picture below shows the bug when it happened.

(NBT is changed. sorry.)

Linked issues

Attachments

Comments 4

Please provide the exact commands used.

used command is:

give @p stone_axe{AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-2.4,Operation:0,UUIDLeast:1,UUIDMost:10,Slot:"mainhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:11,UUIDMost:20,Slot:"mainhand"}]} 1

the command changed. sorry.

mixedcat90

(Unassigned)

Unconfirmed

(Unassigned)

20w12a

Retrieved