Modular Machinery

Modular Machinery

12M Downloads

JEI Integration

NielsPilgaard opened this issue ยท 9 comments

commented

Hello o/

JEI integration for Modular Machinery machine recipes is broken on JEI version 1.12.2-4.14.3.237, so I'm guessing something changed in their API.
Tested in an instance with only default Modular Machinery and JEI.

The structure overview still works, and so does the JEI view for Energy.

Steps to reproduce

  • Make an instance with Forge 1.12.2-14.23.5.2796 or 1.12.2-14.23.5.2768. Other Forge versions are most likely affected aswell, but I have only tested those 2.
  • Add jei_1.12.2-4.14.3.237 and modularmachinery-1.9.4
  • Start the game, open JEI, searching for blueprunt and click U while hovering over any of the blueprints.
commented

If it doesn't crash at that point just not showing anything then whatever you mean there does hardly matter.

commented

Any crashlog or anything?

commented

No, but I can force one if you'd like.

commented

What? Just because it doesn't crash doesn't mean it's not an issue.

commented

Clicking on the name at the top of the empty JEI tab does however crash the game:
https://hastebin.com/dihimosaxu.rb

commented

Empty hastebin. https://i.imgur.com/kqI7uCc.png

Also, i didn't say it's not an issue. I said it's irrelevant if you "force" a crash with f3 + c or whatever you intended. it then shows the stacktrace for that method of crashing. congratulations. Doesn't change that i can't see the point of program execution on the JEI gui where the relevant issue occurs since it doesn't crash there.
Like, "hey this block doesn't do anything when placed. i made the game crash with f3 + c a few seconds later, hope that helps" - no it doesn't.

commented

I assumed you wanted my system details, since you asked for a crashlog for an issue that doesn't produce a crash. I was just trying to be helpful.

Reuploaded crashlog: https://pastebin.com/BGM0EXPp

commented

I have the same issue. It doesn't crash, but the error shows up in the console:

https://pastebin.com/Zc8Nir2u

(Main problem seems to be java.lang.NoClassDefFoundError: mezz/jei/plugins/vanilla/ingredients/ItemStackRenderer at hellfirepvp.modularmachinery.common.integration.recipe.RecipeLayoutPart$Item.provideIngredientRenderer(RecipeLayoutPart.java:283))
Hope this is helpful.

edit: Looks like you might just need to change mezz.jei.plugins.vanilla.ingredients.ItemStackRenderer to mezz.jei.plugins.vanilla.ingredients.item.ItemStackRenderer: mezz/JustEnoughItems@2590a8b

commented

Okay, I think I have the same problem and I can add some information:

  • like others said it seems to be tied to a JEI update
  • machines and recipes get registered without a problem: [10:00:42] [main/INFO] [modularmachinery]: Industrial Sawmill (Recipes): [83 loaded, 0 failed]
  • JEI has some problems rendering the recipe:
    image