mojira.dev
MC-175670

Command block ignore attribute modifiers

The command block ignore most attribute the item should have

And also the item I had in my inventory before I update the file to 1.16

The enchantment,unbreakable attribute didn't change,only other attribute such as damage,attack speed etc

But the command still work in both 1.15 and 1.16 version

Here's the command:

give @p minecraft:trident{display:{Name:'{"text":"Eternal light","color":"gold","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}',Lore:['{"text":"The only thing remains eternal to us. We call it \"hope\".","color":"dark_gray","bold":false,"italic":true,"underlined":false,"strikethrough":false,"obfuscated":false}','[{"text":"Usage:","color":"dark_aqua","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"melee/range","color":"dark_aqua","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]','{"text":"Melee>==========","color":"gray","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}','{"text":"Range>====","color":"gray","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}','{"text":"Defend>","color":"gray","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}','{"text":"Flexibility>===","color":"gray","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}','{"text":"12.5 addition damage to underwater creature","color":"blue","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}']},HideFlags:1,RepairCost:1000,Unbreakable:1b,weapon:1b,eternallight:1b,melee:1b,range:1b,legend:1b,Enchantments:[{id:"minecraft:fire_aspect",lvl:1s},{id:"minecraft:looting",lvl:1s},{id:"minecraft:loyalty",lvl:5s},{id:"minecraft:impaling",lvl:5s}],AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.15,Operation:1,UUIDLeast:138512,UUIDMost:271057,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.75,Operation:1,UUIDLeast:66416,UUIDMost:681694,Slot:"mainhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:234764,UUIDMost:641392,Slot:"mainhand"}]} 1

Linked issues

Attachments

Comments 1

The UUID tag for that command has changed

Look at the first potential duplicate on your report (MC-175259 )

Oscar su

(Unassigned)

Unconfirmed

(Unassigned)

20w12a

Retrieved