/give (with components)
when i type this command to give enchanted sword
/give @p diamond_sword 1 0 {ench:[
,
{id:21,lvl:2}]}
it says
- Line 1, Column 2
Missing '}' or object member name
Created Issue:
/give (with components)
when i type this command to give enchanted sword
{id:16,lvl:2}
/give @p diamond_sword 1 0 {ench:[,
{id:21,lvl:2}]}
it says
- Line 1, Column 2
Missing '}' or object member name
Unfortunately, component isn't nbt tag support for now.
This is working as intended. Currently, as mentioned above, there is no NBT tag support in MCPE. There are only 2 components currently supported and they are Can place and Can destroy for adventure maps.