Integrated Dynamics

Integrated Dynamics

63M Downloads

[1.10.2] Drying basin minetweaker recipes don't work?

Claycorp opened this issue ยท 6 comments

commented

mods.integrateddynamics.DryingBasin.addRecipe(<ore:plankWood>, <liquid:creosote> * 100, <immersiveengineering:treatedWood>, 250);
throws this error
[SERVER_STARTED][SERVER][ERROR] DryingBasin.zs:6 > a method available but none matches the parameters (minetweaker.oredict.IOreDictEntry, minetweaker.liquid.ILiquidStack, minetweaker.item.IItemStack, int) This is usually an error in your script, not in the mod addRecipe(Optional ZenTypeNative, Optional ZenTypeNative, Optional ZenTypeNative, Optional ZenTypeNative, ZenTypeInt )

commented

Your first argument needs to be an item, not an oredict entry.
I think you can iterate over all entries in an oredict key for that, but you'll have to check the MT manual for that.

commented

Still doesn't work.

DryingBasin.zs:6 > a method available but none matches the parameters (minetweaker.item.IItemStack, minetweaker.liquid.ILiquidStack, minetweaker.item.IItemStack, int) This is usually an error in your script, not in the mod addRecipe(Optional ZenTypeNative, Optional ZenTypeNative, Optional ZenTypeNative, Optional ZenTypeNative, ZenTypeInt )

mods.integrateddynamics.DryingBasin.addRecipe(<minecraft:planks>, <liquid:creosote> * 100, <immersiveengineering:treatedWood>, 250);

commented

According to the error everything but the INT is optional. I'll throw it in there though give me a second.

commented

And that fixed it.... Not sure why it says optional in the error when they are required.... Thanks for the help!

commented

They are indeed optional, but MT probably only allows parameters to be left out only if there are no mandatory parameters after that.