I already tried switching the time_down_event to a string instead of an object, but that throws a different error. i don't understand.
I've checked multiple documentations Microsoft, the wiki, the html documentation you get from downloading the vanilla packs, and even asked ChatGPT but that was useless. I also check for errors on a JsonLint, but it says it's valid. I am correct, yet I still get the following error:
parse error:
- Line 25, Column 11
Syntax error: value, object or array expected. - Line 21, Column 11
Missing '}' or object member name - Line 13, Column 9
Missing '}' or object member name - Line 5, Column 7
Missing '}' or object member name - Line 4, Column 5
Missing '}' or object member name - Line 3, Column 3
Missing '}' or object member name
from the following code
"format_version": "1.18.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false,
"scripts": {
"animate": [
"fog"
]
},
"animations": {
"fog": "controller.animation.fog"
}
},
"component_groups": {
"night_music": {
"minecraft:timer": {
"looping": true,
"time": [45.0, 60.0],
"time_down_event": {
"event": "play_night_ambience"
}
}
},
"day_music": {
"minecraft:timer": {
"looping": true,
"time": [90.0, 120.0],
"time_down_event": {
"event": "play_day_ambience"
}
}
},
...
"minecraft:timer": {
"time": [ 0.0, 0.0 ],
"looping": false,
"time_down_event": {
"event": "minecraft:clear_add_bad_omen",
"target": "self"
}
}
},
...```
I cut out all the useless stuff.