[Item][error]-Item is an invalid json object.
[AI][error]-My World | actor_definitions | /storage/emulated/0/Android/data/com.mojang.minecraftpe/files/games/com.mojang/minecraftWorlds/FHl0ZY5BAAA=/behavior_packs/brutal heart [bp] | entities/player.json | parse error:
* Line 185, Column 24
Missing ',' or ']' in array declaration
* Line 184, Column 5
Missing '}' or object member name
* Line 183, Column 5
Missing '}' or object member name
* Line 182, Column 5
Missing '}' or object member name
* Line 168, Column 5
Missing '}' or object member name
* Line 3, Column 3
Missing '}' or object member name
#how to fix this error?
1 messages · Page 1 of 1 (latest)
It looks lime you have an extra comma or are missing a bracket somewhere. I'd recommend putting it through a json linter
JSONLint is the free online validator, json formatter, and json beautifier tool for JSON, a lightweight data-interchange format. You can format json, validate json, with a quick and easy copy+paste.
It will highlight the issues in red
Also, you need to use queue_command in your events, not command
Finally, with the add events, you reference a component group in component_groups by name. You don't put the components inside of the event