minecraftminecraft-commands

MC Bedrock Edition: Line 1, Column 2 '}' missing or object member name


So I'm trying to mess around with the command blocks in Minecraft Bedrock Edition. In this I was trying to give a wooden sword a sharpness 32K and a unbreaking 1000 enchantment. The code I use is:

give @p wooden_sword 1 0 {ench:[{id:16,lvl:32000},{id:34,lvl:1000}]}

The only thing to come out of this is the output: Line 1, Column 2 '}' missing or object member name

I read on the internet that this might have something to do with the JSON code and that I should use " " on the objects in the command, but it doesn't seem to work.

I'm at a loss and have no idea how to fix this or what exactly causes it.

Anyone willing to help me with this?


Solution

  • Some Java commands apparently dont work for bedrock as Joseph Sible pointed out.

    this concludes this question.