Create: Copycats+

Create: Copycats+

10M Downloads

[Bug] Missing "criteria" field in crafting advancement JSON files causes parsing errors on load

Batsave opened this issue ยท 0 comments

commented

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:

  1. Install copycats on Minecraft 1.20.1 (Fabric)
  2. Launch the game or server
  3. 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