when i type this command to give enchanted sword
/give @p diamond_sword 1 0 {ench:[{id:16,lvl:2},{id:21,lvl:2}]}
it says
Line 1, Column 2
Missing '}' or object member name
when i type this command to give enchanted sword
/give @p diamond_sword 1 0 {ench:[{id:16,lvl:2},{id:21,lvl:2}]}
it says
Line 1, Column 2
Missing '}' or object member name
Unfortunately, component isn't nbt tag support for now.