AlexIIL / SimplePipes

A small test pipes mod based around LibBlockAttributes
Mozilla Public License 2.0
33 stars 14 forks source link

Crash on Singleplayer World Startup: JEI Attempts to Load Pipes Facade as Stonecutting Recipe, Causing ClassCastException #73

Open SOMEHOTMEAL opened 2 months ago

SOMEHOTMEAL commented 2 months ago

forgot to precise the version. version is 1.21 on fabric

When launching a singleplayer world, the game crashes due to a ClassCastException involving JEI and the Pipes mod. It appears that JEI is attempting to load a custom recipe from the Pipes mod (FacadeCraftingRecipe) as a standard stonecutting recipe, which causes the error.

Steps to Reproduce:

Install the JEI mod alongside the Pipes mod. Launch a singleplayer world. The game crashes during startup as JEI tries to handle recipes, specifically stonecutting recipes. Expected Behavior: JEI should load recipes without causing a crash, and the custom facade recipe from the Pipes mod should not be misinterpreted as a stonecutting recipe.

Error Log: ClassCastException: Pipes FacadeCraftingRecipe cannot be cast to Minecraft stonecutting recipe (net.minecraft.class_3975).

full report: https://gist.github.com/SOMEHOTMEAL/a2b3eecc2fe2fde5e710400fbec841db

Kneelawk commented 2 days ago

This is a long-standing issue with SimplePipe's facade crafting recipes. The work around is to install EMI which can work along-side JEI.