Rustic

Rustic

45M Downloads

JEI and Brewing Bug

vincania opened this issue ยท 5 comments

commented

There is a issue, with searching recipes about brewing in JEI. While searching for a recipe for a juice nothing shows up. Here is the log:

[main/ERROR] [jei]: Error caught from Recipe Category: rustic.compat.jei.BrewingRecipeCategory
java.lang.NullPointerException: null
at mezz.jei.plugins.vanilla.ingredients.FluidStackHelper.getMatch(FluidStackHelper.java:32) ~[FluidStackHelper.class:?]
at mezz.jei.plugins.vanilla.ingredients.FluidStackHelper.getMatch(FluidStackHelper.java:22) ~[FluidStackHelper.class:?]
at mezz.jei.gui.ingredients.GuiIngredient.getMatch(GuiIngredient.java:125) ~[GuiIngredient.class:?]
at mezz.jei.gui.ingredients.GuiIngredient.set(GuiIngredient.java:104) ~[GuiIngredient.class:?]
at mezz.jei.gui.ingredients.GuiIngredientGroup.set(GuiIngredientGroup.java:123) ~[GuiIngredientGroup.class:?]
at rustic.compat.jei.BrewingRecipeCategory.setRecipe(BrewingRecipeCategory.java:88) ~[BrewingRecipeCategory.class:?]
at mezz.jei.gui.recipes.RecipeLayout.create(RecipeLayout.java:62) [RecipeLayout.class:?]
at mezz.jei.gui.recipes.RecipeGuiLogic.getRecipeLayouts(RecipeGuiLogic.java:164) [RecipeGuiLogic.class:?]
at mezz.jei.gui.recipes.RecipesGui.updateLayout(RecipesGui.java:423) [RecipesGui.class:?]
at mezz.jei.gui.recipes.RecipesGui.onStateChange(RecipesGui.java:468) [RecipesGui.class:?]
at mezz.jei.gui.recipes.RecipeGuiLogic.nextRecipeCategory(RecipeGuiLogic.java:184) [RecipeGuiLogic.class:?]
at mezz.jei.gui.recipes.RecipesGui.func_146284_a(RecipesGui.java:387) [RecipesGui.class:?]
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:443) [blk.class:?]
at mezz.jei.gui.recipes.RecipesGui.func_73864_a(RecipesGui.java:306) [RecipesGui.class:?]
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:533) [blk.class:?]
at mezz.jei.gui.recipes.RecipesGui.func_146274_d(RecipesGui.java:277) [RecipesGui.class:?]
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:501) [blk.class:?]
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1757) [bib.class:?]
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1096) [bib.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) [bib.class:?]
at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_151]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

PS. Love your mod style and rendering. Is there a possibility to make juice available thru a IE squeezer? Would be a cool automation feature.

commented

Sorry for the late response. Could you provide the Minecraft version, Rustic version, Forge version, and JEI version you were using?

As for IE compat, I don't plan on adding anything like that right now, sorry. The crushing tub is automatable, though, if you're willing to get creative with mobs. I've heard bunnies make it quite easy.

commented

I saw this bug as well, and my game crashed when I wen to the recipe usage again: here

commented

The crash log should help, thanks for providing it.

commented

I just fixed this, assuming the bug I found when trying to reproduce this issue is the same as the one referred to in this issue. I'm pretty sure it is. I plan on releasing an update with this fix and more within a day or two.

commented

The update has now been released on curseforge.