Botania (210) Lexica addEntry() doesn't work after API update
Wolwrig opened this issue ยท 7 comments
mods.botania.Lexicon.addEntry(string, string) doesn't work anymore. Looks like Vazkii updated the API and changed something. Running Botania version 210
Here is the error I get:
ERROR: BotaniaRecipes.zs:28 > a method available but none matches the parameters (string, string)
so, @Yulife do we need to do anything? or can I close this?
Yea, you know how in the lexicon there is sometimes an icon next to an entry? we added support for that, your script should look something like (String, String, ItemStack)
so
mods.botania.lexicon.addEntry("String1", "String2", minecraft:diamond);
Yes that works, as a note of clarity you example should be
mods.botania.lexicon.addEntry("string1", "string2", <minecraft:diamond>);
to be syntactically correct