TeamMetallurgy / Atum2

Atum 2: Return to the Sands - Adds an entirely new Egyptian-themed dimension to Minecraft
107 stars 38 forks source link

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

Closed Syeph0n closed 3 years ago

Syeph0n commented 3 years ago

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