Advancement loading error on startup
tmvkrpxl0 opened this issue ยท 7 comments
Description
Insert a clear and concise description of what the bug is.
This error is printed on startup:
[06:19:57] [main/ERROR] [minecraft/ServerAdvancementManager]: Parsing error loading custom advancement cccbridge:place_animatronic: Failed to parse 'location' field
[06:19:57] [main/ERROR] [minecraft/ServerAdvancementManager]: Parsing error loading custom advancement cccbridge:place_redrouter: Failed to parse 'location' field
and I believe advancement is not working correctly due to this.
To Reproduce
Steps to reproduce the behavior:
- Install cccbridge
- Start world. Preferably on dedicated server as the output is more cleaner.
- Observe that error
Expected behavior
Insert a clear and concise description of what you expected to happen.
I expected advancement to word without issue.
Software (please complete the following information):
- Minecraft Version 1.20.1
- Mod Version 1.6.3
- ModLoader: Forge 47.2.30
According to official source, "conditions" must contain "location" field.
But advancements of cc bridges does not. Below is part of place_redrouter.json
"criteria": {
"placed_redrouter": {
"trigger": "minecraft:placed_block",
"conditions": {
"block": "cccbridge:redrouter_block"
}
}
}It just contains "block"
Thank you for this issue! Yeah that indeed seems to be a mistake from my side. I will try to fix this.
fixccc.zip
I've been using this datapack. Perhaps you could look into this?
Thank you for your patience and your efforts. This has now been fixed in 733c03f,
which will be available in the next update