AttributeModifiers error
suzakuwcx opened this issue ยท 8 comments
{
"Amount": 8.0,
"Slot": "chest",
"AttributeName": "minecraft:generic.armor",
"Operation": ,
"UUID": [
5648299,
17825335,
-15753219,
4619561
],
"Name": "generic.armor"
},
but after checking in the '/give' command the correct is
{
"Amount": 8.0,
"Slot": "chest",
"AttributeName": "minecraft:generic.armor",
"Operation": 1,
"UUID": [I;
5648299,
17825335,
-15753219,
4619561
],
"Name": "generic.armor"
},
/give @s diamond_axe{AttributeModifiers:[{Slot:"mainhand",AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:20,Operation:0,UUID:[I;1498693494,1027158888,1898994005,860320107]}]}
this is an example copy from wiki ,without I;
the attribute will lost
Well, yeah, because that functionality is not supposed to give you something valid for the /give command, it's supposed to be in JSON format