Ender-Tweaker Alloy Smelter recipe help
Trying to add a custom recipe to the Alloy Smelter via Ender Tweaker for HSLA Steel and Zircaloy from NuclearCraft. When I add these lines to the third and fourth lines (respectively) of my script called "ncraft.zs"
mods.enderio.AlloySmelter.addRecipe(ore:ingotZircaloy * 8, [ore:ingotZirconium * 7, ore:ingotTin], 10000, 2.07);
mods.enderio.AlloySmelter.addRecipe(ore:ingotHSLASteel, [ore:dustIron * 15, ore:dustCarbonManganese], 10000, 1.07);
I'm returned with the errors
ncraft.zs:3 > a method available but none matches the parameters (ZenTypeNative: crafttweaker.item.IIngredient,ZenTypeNative:crafttweaker.item.IIngredient[], int, double)This is usually an error in your script, not in the mod addRecipe(ZenTypeNative: crafttweaker.itemIIngredient, *Optional* int, *Optional* float
ncraft.zs:4 > a method available but none matches the parameters (ZenTypeNative:crafttweaker.oredict.IOreDDictEntry, ZenTypeNative: crafttweaker.itemIIngredient[], int, double)
This is usually an error in your script, not in the mod addRecipe(ZenTypeNative: crafttweaker.itemIIngredient, *Optional* int, *Optional* float
What am I doing wrong? What should I do to fix this? I'm trying to create a recipe where 7 Zirconium Ingots and 7 Tin Ingots create Zircaloy Ingots, and 15 Iron Dust and 1 Carbon-Manganese dust results in 1 HSLA Steel
EDIT: Got it to work. Seemed to be a problem with using the oreDict for NuclearCraft unique materials.
Posted Sep 5, 2019, 5:35 PM UTC · edited
IIRC you can't use an oredict group as the product of a recipe, even if that group only contains one item.
Oh, interesting. Thank you.