jaredlll08 / ModTweaker

ModTweaker is an addon for CraftTweaker, which provides Integration for an amount of mods.
MIT License
68 stars 63 forks source link

Added Lexica Botanica crafting pages have empty crafting grid #739

Closed nihiltres closed 4 years ago

nihiltres commented 4 years ago

Issue Description:

If using the method to add crafting pages to the Lexica Botanica (mods.botania.Lexicon.addCraftingPage(String name, String entry, int page_number, String... recipeNames);), the page is added as expected, but the crafting grid displayed in the Lexicon is empty except for the output slot. The crafting grid should display the input of the specified recipe.

Script used

As a simple example, using a vanilla recipe to avoid any secondary problems:

mods.botania.Lexicon.removePage("botania.entry.cacophonium", 1);
mods.botania.Lexicon.addCraftingPage(
    "Doot doot",
    "botania.entry.cacophonium",
    1,
    ["minecraft:crafting_table"]
);

The methods work largely as expected, adding a page with a crafting grid, and there's nothing unusual in the CraftTweaker log, but the crafting grid displayed in the Lexicon is empty except for the output slot.

Affected Versions:

jaredlll08 commented 4 years ago

This will be a Botania issue, we don't define the output item anywhere, so they are getting that, but apparently are having issues getting the actual recipe.