fix(create): repair processing recipes + make them standalone-safe

The Create processing recipes (crushing/milling/mixing) were broken in two
ways, plus leaked parse errors when Create was absent.

1. Format migration to Create 6.x (matched against native recipes in the
   Create 6.0.9 jar):
   - results entries: item -> id
   - processingTime -> processing_time (snake_case)
   - ingredients keep item (still correct in 6.x)

2. Phantom item references: 9 recipes targeted blocks that no longer exist
   (renamed/removed ores). Reaffected 8 to their real block (e.g.
   highlapisore -> lapisore, goldore -> puregoldenore, highcopperore ->
   copperhighore) and deleted 9 with no real equivalent or that would
   duplicate an existing recipe (deepslate variants of coal/copper/emerald
   that don't exist as blocks).
   Result: all 16 registered ore blocks now have at least one valid Create
   recipe (15 direct + sharddiamond via the forge:ores/shard_diamond tag).

3. Standalone safety: wrapped all 20 Create recipes + the Mekanism enriching
   recipe in neoforge:conditions (mod_loaded) so they only parse when the
   target mod is present. Without this, the RecipeManager logged ERRORs
   (Unknown registry key create:crushing) on every boot when the mod ran
   alone. Conditions use the sibling format, verified empirically.

Validated both configurations via runGameTestServer:
  - Standalone (Create + Mekanism absent): 0 recipe parse errors, latitude OK
  - With all mods (BOP + Tectonic + Create + JEI): 0 parse errors, recipes
    load, latitude OK (spawn=birch_forest | north=100% | south=100% |
    swamp=1.26% | deepDark=1.30% | caveBiomes=6.5%)

The mod has no hard dependency on Create (no compile dep, no Java imports,
optional in mods.toml) and now boots cleanly with zero recipe errors whether
or not Create/Mekanism are installed.
This commit is contained in:
feldenr
2026-06-16 22:34:53 +02:00
parent dac57d3c63
commit 3ea6906369
30 changed files with 303 additions and 412 deletions
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
@@ -7,17 +13,17 @@
], ],
"results": [ "results": [
{ {
"item": "minecraft:coal", "count": 2,
"count": 2 "id": "minecraft:coal"
}, },
{ {
"item": "minecraft:coal", "chance": 0.5,
"chance": 0.5 "id": "minecraft:coal"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.75,
"chance": 0.75 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 250 "processing_time": 250
} }
@@ -1,23 +0,0 @@
{
"type": "create:crushing",
"ingredients": [
{
"item": "custom_ore_gen:concentrateddiamondore"
}
],
"results": [
{
"item": "minecraft:diamond",
"count": 2
},
{
"item": "minecraft:diamond",
"chance": 0.5
},
{
"item": "minecraft:experience_nugget",
"chance": 0.75
}
],
"processingTime": 350
}
@@ -1,27 +0,0 @@
{
"type": "create:crushing",
"ingredients": [
{
"item": "custom_ore_gen:deepslateconcentratedcoalore"
}
],
"results": [
{
"item": "minecraft:coal",
"count": 2
},
{
"item": "minecraft:coal",
"chance": 0.5
},
{
"item": "minecraft:cobbled_deepslate",
"chance": 0.125
},
{
"item": "minecraft:experience_nugget",
"chance": 0.75
}
],
"processingTime": 250
}
@@ -1,27 +1,33 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
"item": "custom_ore_gen:deepslateconcentrateddiamondore" "item": "custom_ore_gen:deepslatediamondore"
} }
], ],
"results": [ "results": [
{ {
"item": "minecraft:diamond", "count": 2,
"count": 2 "id": "minecraft:diamond"
}, },
{ {
"item": "minecraft:diamond", "chance": 0.5,
"chance": 0.5 "id": "minecraft:diamond"
}, },
{ {
"item": "minecraft:cobbled_deepslate", "chance": 0.125,
"chance": 0.125 "id": "minecraft:cobbled_deepslate"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.75,
"chance": 0.75 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 350 "processing_time": 350
} }
@@ -1,27 +1,33 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
"item": "custom_ore_gen:deepslatehighlapisore" "item": "custom_ore_gen:deepslatelapisore"
} }
], ],
"results": [ "results": [
{ {
"item": "minecraft:lapis_lazuli", "count": 10,
"count": 10 "id": "minecraft:lapis_lazuli"
}, },
{ {
"item": "minecraft:lapis_lazuli", "chance": 0.5,
"chance": 0.5 "id": "minecraft:lapis_lazuli"
}, },
{ {
"item": "minecraft:cobbled_deepslate", "chance": 0.125,
"chance": 0.125 "id": "minecraft:cobbled_deepslate"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.75,
"chance": 0.75 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 250 "processing_time": 250
} }
@@ -1,27 +1,33 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
"item": "custom_ore_gen:deepslatehighredstoneore" "item": "custom_ore_gen:deepslateredstoneore"
} }
], ],
"results": [ "results": [
{ {
"item": "minecraft:redstone", "count": 6,
"count": 6 "id": "minecraft:redstone"
}, },
{ {
"item": "minecraft:redstone", "chance": 0.5,
"chance": 0.5 "id": "minecraft:redstone"
}, },
{ {
"item": "minecraft:cobbled_deepslate", "chance": 0.125,
"chance": 0.125 "id": "minecraft:cobbled_deepslate"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.75,
"chance": 0.75 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 250 "processing_time": 250
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
@@ -7,21 +13,21 @@
], ],
"results": [ "results": [
{ {
"item": "custom_ore_gen:diamondshard", "count": 3,
"count": 3 "id": "custom_ore_gen:diamondshard"
}, },
{ {
"item": "custom_ore_gen:diamondshard", "chance": 0.5,
"chance": 0.5 "id": "custom_ore_gen:diamondshard"
}, },
{ {
"item": "minecraft:cobbled_deepslate", "chance": 0.125,
"chance": 0.125 "id": "minecraft:cobbled_deepslate"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.75,
"chance": 0.75 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 250 "processing_time": 250
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
@@ -7,17 +13,17 @@
], ],
"results": [ "results": [
{ {
"item": "custom_ore_gen:diamondshard", "count": 5,
"count": 5 "id": "custom_ore_gen:diamondshard"
}, },
{ {
"item": "custom_ore_gen:diamondshard", "chance": 0.5,
"chance": 0.5 "id": "custom_ore_gen:diamondshard"
}, },
{ {
"item": "custom_ore_gen:diamondshard", "chance": 0.5,
"chance": 0.5 "id": "custom_ore_gen:diamondshard"
} }
], ],
"processingTime": 250 "processing_time": 250
} }
@@ -1,23 +1,29 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
"item": "custom_ore_gen:highlapisore" "item": "custom_ore_gen:lapisore"
} }
], ],
"results": [ "results": [
{ {
"item": "minecraft:lapis_lazuli", "count": 8,
"count": 8 "id": "minecraft:lapis_lazuli"
}, },
{ {
"item": "minecraft:lapis_lazuli", "chance": 0.5,
"chance": 0.5 "id": "minecraft:lapis_lazuli"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.75,
"chance": 0.75 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 250 "processing_time": 250
} }
@@ -1,23 +1,29 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
"item": "custom_ore_gen:highredstoneore" "item": "custom_ore_gen:redstoneore"
} }
], ],
"results": [ "results": [
{ {
"item": "minecraft:redstone", "count": 5,
"count": 5 "id": "minecraft:redstone"
}, },
{ {
"item": "minecraft:redstone", "chance": 0.5,
"chance": 0.5 "id": "minecraft:redstone"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.75,
"chance": 0.75 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 250 "processing_time": 250
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:crushing", "type": "create:crushing",
"ingredients": [ "ingredients": [
{ {
@@ -7,17 +13,17 @@
], ],
"results": [ "results": [
{ {
"item": "custom_ore_gen:diamondshard", "count": 3,
"count": 3 "id": "custom_ore_gen:diamondshard"
}, },
{ {
"item": "custom_ore_gen:diamondshard", "chance": 0.5,
"chance": 0.5 "id": "custom_ore_gen:diamondshard"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.75,
"chance": 0.75 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 250 "processing_time": 250
} }
@@ -1,23 +1,29 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
"item": "custom_ore_gen:ashcoalore" "item": "custom_ore_gen:concentratedcoalore"
} }
], ],
"results": [ "results": [
{ {
"item": "minecraft:coal", "count": 2,
"count": 2 "id": "minecraft:coal"
}, },
{ {
"item": "minecraft:coal", "chance": 0.25,
"chance": 0.25 "id": "minecraft:coal"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,27 +0,0 @@
{
"type": "create:milling",
"ingredients": [
{
"item": "custom_ore_gen:deepslateashcoalore"
}
],
"results": [
{
"item": "minecraft:coal",
"count": 2
},
{
"item": "minecraft:coal",
"chance": 0.25
},
{
"item": "minecraft:cobbled_deepslate",
"chance": 0.125
},
{
"item": "minecraft:experience_nugget",
"chance": 0.5
}
],
"processingTime": 150
}
@@ -1,27 +0,0 @@
{
"type": "create:milling",
"ingredients": [
{
"item": "custom_ore_gen:deepslatehighcopperore"
}
],
"results": [
{
"item": "minecraft:raw_copper",
"count": 5
},
{
"item": "minecraft:raw_copper",
"chance": 0.25
},
{
"item": "minecraft:cobbled_deepslate",
"chance": 0.125
},
{
"item": "minecraft:experience_nugget",
"chance": 0.5
}
],
"processingTime": 150
}
@@ -1,27 +0,0 @@
{
"type": "create:milling",
"ingredients": [
{
"item": "custom_ore_gen:deepslatehighemeraldore"
}
],
"results": [
{
"item": "minecraft:emerald",
"count": 2
},
{
"item": "minecraft:emerald",
"chance": 0.25
},
{
"item": "minecraft:cobbled_deepslate",
"chance": 0.125
},
{
"item": "minecraft:experience_nugget",
"chance": 0.5
}
],
"processingTime": 150
}
@@ -1,27 +0,0 @@
{
"type": "create:milling",
"ingredients": [
{
"item": "custom_ore_gen:deepslategoldore"
}
],
"results": [
{
"item": "minecraft:raw_gold",
"count": 2
},
{
"item": "minecraft:raw_gold",
"chance": 0.25
},
{
"item": "minecraft:cobbled_deepslate",
"chance": 0.125
},
{
"item": "minecraft:experience_nugget",
"chance": 0.5
}
],
"processingTime": 150
}
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
@@ -7,21 +13,21 @@
], ],
"results": [ "results": [
{ {
"item": "minecraft:raw_iron", "count": 2,
"count": 2 "id": "minecraft:raw_iron"
}, },
{ {
"item": "minecraft:raw_iron", "chance": 0.25,
"chance": 0.25 "id": "minecraft:raw_iron"
}, },
{ {
"item": "minecraft:cobbled_deepslate", "chance": 0.125,
"chance": 0.125 "id": "minecraft:cobbled_deepslate"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,27 +0,0 @@
{
"type": "create:milling",
"ingredients": [
{
"item": "custom_ore_gen:deepslatelowercopperore"
}
],
"results": [
{
"item": "minecraft:raw_copper",
"count": 5
},
{
"item": "minecraft:raw_copper",
"chance": 0.25
},
{
"item": "minecraft:cobbled_deepslate",
"chance": 0.125
},
{
"item": "minecraft:experience_nugget",
"chance": 0.5
}
],
"processingTime": 150
}
@@ -1,27 +0,0 @@
{
"type": "create:milling",
"ingredients": [
{
"item": "custom_ore_gen:deepslateloweremeraldore"
}
],
"results": [
{
"item": "minecraft:emerald",
"count": 2
},
{
"item": "minecraft:emerald",
"chance": 0.25
},
{
"item": "minecraft:cobbled_deepslate",
"chance": 0.125
},
{
"item": "minecraft:experience_nugget",
"chance": 0.5
}
],
"processingTime": 150
}
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
@@ -7,21 +13,21 @@
], ],
"results": [ "results": [
{ {
"item": "minecraft:raw_gold", "count": 2,
"count": 2 "id": "minecraft:raw_gold"
}, },
{ {
"item": "minecraft:raw_gold", "chance": 0.25,
"chance": 0.25 "id": "minecraft:raw_gold"
}, },
{ {
"item": "minecraft:cobbled_deepslate", "chance": 0.125,
"chance": 0.125 "id": "minecraft:cobbled_deepslate"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
@@ -7,17 +13,17 @@
], ],
"results": [ "results": [
{ {
"item": "custom_ore_gen:diamondshard", "count": 5,
"count": 5 "id": "custom_ore_gen:diamondshard"
}, },
{ {
"item": "custom_ore_gen:diamondshard", "chance": 0.5,
"chance": 0.5 "id": "custom_ore_gen:diamondshard"
}, },
{ {
"item": "custom_ore_gen:diamondshard", "chance": 0.5,
"chance": 0.5 "id": "custom_ore_gen:diamondshard"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,23 +1,29 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
"item": "custom_ore_gen:highcopperore" "item": "custom_ore_gen:copperhighore"
} }
], ],
"results": [ "results": [
{ {
"item": "minecraft:raw_copper", "count": 4,
"count": 4 "id": "minecraft:raw_copper"
}, },
{ {
"item": "minecraft:raw_copper", "chance": 0.25,
"chance": 0.25 "id": "minecraft:raw_copper"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
@@ -7,17 +13,17 @@
], ],
"results": [ "results": [
{ {
"item": "minecraft:emerald", "count": 2,
"count": 2 "id": "minecraft:emerald"
}, },
{ {
"item": "minecraft:emerald", "chance": 0.25,
"chance": 0.25 "id": "minecraft:emerald"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,23 +0,0 @@
{
"type": "create:milling",
"ingredients": [
{
"item": "custom_ore_gen:goldore"
}
],
"results": [
{
"item": "minecraft:raw_gold",
"count": 2
},
{
"item": "minecraft:raw_gold",
"chance": 0.25
},
{
"item": "minecraft:experience_nugget",
"chance": 0.5
}
],
"processingTime": 150
}
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
@@ -7,17 +13,17 @@
], ],
"results": [ "results": [
{ {
"item": "minecraft:raw_iron", "count": 2,
"count": 2 "id": "minecraft:raw_iron"
}, },
{ {
"item": "minecraft:raw_iron", "chance": 0.25,
"chance": 0.25 "id": "minecraft:raw_iron"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,23 +1,29 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
"item": "custom_ore_gen:lowercopperore" "item": "custom_ore_gen:copperlowerore"
} }
], ],
"results": [ "results": [
{ {
"item": "minecraft:raw_copper", "count": 4,
"count": 4 "id": "minecraft:raw_copper"
}, },
{ {
"item": "minecraft:raw_copper", "chance": 0.25,
"chance": 0.25 "id": "minecraft:raw_copper"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
@@ -7,17 +13,17 @@
], ],
"results": [ "results": [
{ {
"item": "minecraft:emerald", "count": 2,
"count": 2 "id": "minecraft:emerald"
}, },
{ {
"item": "minecraft:emerald", "chance": 0.25,
"chance": 0.25 "id": "minecraft:emerald"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:milling", "type": "create:milling",
"ingredients": [ "ingredients": [
{ {
@@ -7,17 +13,17 @@
], ],
"results": [ "results": [
{ {
"item": "minecraft:raw_gold", "count": 2,
"count": 2 "id": "minecraft:raw_gold"
}, },
{ {
"item": "minecraft:raw_gold", "chance": 0.25,
"chance": 0.25 "id": "minecraft:raw_gold"
}, },
{ {
"item": "minecraft:experience_nugget", "chance": 0.5,
"chance": 0.5 "id": "minecraft:experience_nugget"
} }
], ],
"processingTime": 150 "processing_time": 150
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "create"
}
],
"type": "create:mixing", "type": "create:mixing",
"ingredients": [ "ingredients": [
{ {
@@ -8,9 +14,9 @@
], ],
"results": [ "results": [
{ {
"item": "minecraft:diamond", "count": 1,
"count": 1 "id": "minecraft:diamond"
} }
], ],
"processingTime": 100 "processing_time": 100
} }
@@ -1,4 +1,10 @@
{ {
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "mekanism"
}
],
"type": "mekanism:enriching", "type": "mekanism:enriching",
"input": { "input": {
"ingredient": { "ingredient": {