Atum 2: Return to the Sands

Atum 2: Return to the Sands

22M Downloads

CraftTweaker Quern recipe has nonunique name, breaking zs scripts with multiple quern recipes.

Syeph0n opened this issue ยท 0 comments

commented

When adding quern recipes through CT there is no recipeName as string, defaulting the recipe name to "atum:quern"

[[<recipetype:atum:quern>.addRecipe(<item:minecraft:cobblestone>, <item:minecraft:gravel>, 1);
<recipetype:atum:quern>.addRecipe(<item:atum:dusty_bone>, <item:minecraft:bone>, 1); ]]- Code in question

[13:35:10.482][DONE][SERVER][INFO] Adding "atum:quern" recipe, of type: "quern", with name: "atum:quern" that outputs: <item:minecraft:gravel>
[13:35:10.482][DONE][SERVER][INFO] Adding "atum:quern" recipe, of type: "quern", with name: "atum:quern" that outputs: <item:minecraft:bone>
[13:35:10.482][DONE][SERVER][WARNING] A recipe with the name 'quern' already exists and will be overwritten: this is most likely an error in your scripts - taken from CT log

This stops you from adding more than one quern recipe without using addJSONRecipe to workaround.

Atum 2 v2.2.6