EMI

EMI

1M Downloads

JEI transfer handler causing issues on Neoforge

thiakil opened this issue ยท 2 comments

commented
java.lang.ClassCastException: class net.minecraft.world.item.crafting.ShapedRecipe cannot be cast to class net.minecraft.world.item.crafting.RecipeHolder (net.minecraft.world.item.crafting.ShapedRecipe and net.minecraft.world.item.crafting.RecipeHolder are in module [email protected] of loader 'TRANSFORMER' @3595086b)
    at TRANSFORMER/[email protected]/mekanism.client.jei.FormulaicRecipeTransferInfo.canHandle(FormulaicRecipeTransferInfo.java:18)
    at TRANSFORMER/[email protected]/mezz.jei.library.transfer.BasicRecipeTransferHandler.transferRecipe(BasicRecipeTransferHandler.java:79)
    at TRANSFORMER/[email protected]+1.20.4+neoforge/dev.emi.emi.jemi.JemiRecipeHandler.jeiCraft(JemiRecipeHandler.java:134)
    at TRANSFORMER/[email protected]+1.20.4+neoforge/dev.emi.emi.jemi.JemiRecipeHandler.render(JemiRecipeHandler.java:90)
    at TRANSFORMER/[email protected]+1.20.4+neoforge/dev.emi.emi.screen.RecipeScreen.render(RecipeScreen.java:238)
    at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.Screen.renderWithTooltip(Screen.java:106)
    at TRANSFORMER/[email protected]/net.neoforged.neoforge.client.ClientHooks.drawScreenInternal(ClientHooks.java:399)
    at TRANSFORMER/[email protected]/net.neoforged.neoforge.client.ClientHooks.drawScreen(ClientHooks.java:393)
    at TRANSFORMER/[email protected]/net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:1137)
    at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.runTick(Minecraft.java:1263)
    at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.run(Minecraft.java:818)
    at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:244)

According to the JEI API in my sources, RecipeTypes.CRAFTING is supposed to be RecipeHolder

EMI: emi-1.1.3+1.20.4+neoforge

commented

I believe I released EMI based on an older version of JEI before it was released on Neo, which would be causing these errors and should be resolved.

commented

Should be fixed in EMI 1.1.4