
[Bug] Missing "criteria" field in crafting advancement JSON files causes parsing errors on load
Batsave opened this issue ยท 0 comments
Hi,
When launching the game with copycats (v2.2.2+mc.1.20.1-fabric), the console logs dozens of errors like:
[main/ERROR]: Parsing error loading custom advancement copycats:recipes/crafting/copycat_slope: Missing criteria, expected to find a JsonObject
This happens for all files under:
data/copycats/advancements/recipes/crafting/
Cause:
The advancements are missing the mandatory "criteria" field, which is required by the Minecraft advancement system.
Steps to Reproduce:
- Install copycats on Minecraft 1.20.1 (Fabric)
- Launch the game or server
- Observe the log errors during advancement loading
Expected behavior:
Advancements should load without error. Even if they are placeholders, they should contain a minimal valid criteria block to avoid parsing failures.
Minimal fix suggestion:
Add this to each advancement file:
"criteria": {
"impossible": {
"trigger": "minecraft:impossible"
}
}
Environment:
ModPack Used : Athena Adventure Saison 5
Minecraft: 1.20.1
Fabric Loader: 0.16.14
Copycats: 2.2.2+mc.1.20.1-fabric
Java: 21