ModTweaker

ModTweaker

88M Downloads

Better With Mods cauldron error when no optional secondary output

Vampsku11 opened this issue ยท 1 comments

commented

Issue Description:

Adding two recipes to the Better With Mods cauldron. One recipe that offers secondary output works. The other recipe that does not offer secondary output throws an error.

Not an issue with syntax, if I add a secondary output the recipe is accepted. Mod seems to consider the optional secondary output as mandatory.

What happens:

ERROR: betterwithmods.zs:90 > a method available but none matches the parameters (ZenTypeNative: crafttweaker.item.IItemStack, any[])
This is usually an error in your script, not in the mod
add(ZenTypeNative: crafttweaker.item.IItemStack, Optional ZenTypeNative: crafttweaker.item.IItemStack, NotNull ZenTypeNative: crafttweaker.item.IIngredient[])

What you expected to happen:

Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):

https://pastebin.com/7hL9PUkh

mods.betterwithmods.Cauldron.add(duckcraft:ducksoupitem * 5, [duckcraft:rawduckitem, minecraft:potato * 2, minecraft:carrot * 2, minecraft:bowl * 5]);

Working recipe (line 91)
mods.betterwithmods.Cauldron.add(duckcraft:duckcorncitem * 5, minecraft:bucket, [ duckcraft:rawduckitem, minecraft:potato, simplecorn:kernels * 2, minecraft:bowl * 5, minecraft:milk_bucket]);

Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):

crafttweaker.log
https://pastebin.com/TDs28E3Y

Affected Versions (Do not use "latest"):

  • Minecraft: 1.12.2
  • Forge: 1.12.2-forge1.12.2-14.23.2.2611
  • Crafttweaker: CraftTweaker2-1.12-4.1.3.jar
  • ModTweaker: modtweaker-4.0.7.jar
  • MTLib: MTLib-3.0.2.jar

Your most recent log file where the issue was present:

[pastebin/gist/etc link here]

commented

In the interim I added null as the optional output and the recipe is being accepted, in case anyone else has this issue before the next release.