EMI

EMI

1M Downloads

[Mod Compat] Custom Machinery (deprecated JEI method)

juh9870 opened this issue ยท 1 comments

commented

If this issue is related to compatibility with other mods, such as missing recipes, make sure to follow these steps before reporting

  • Make sure the recipe exists in game and can be crafted
  • If the mod requires JEI, make sure both EMI and JEI are installed together
  • Report this issue to the mod if applicable

EMI relies on the usage of the deprecated JEI method that recently became nullable, and is marked for removal in the next major release:
https://github.com/mezz/JustEnoughItems/blob/f8c0de94f56807b8ccd0d0a27ced10b05a1f5f16/CommonApi/src/main/java/mezz/jei/api/recipe/category/IRecipeCategory.java#L54-L67

Due to this, EMI fails to display recipes from Custom Machinery (and possibly other mods), because it returns null for this method

java.lang.NullPointerException: Cannot invoke "mezz.jei.api.gui.drawable.IDrawable.draw(net.minecraft.client.gui.GuiGraphics)" because the return value of "mezz.jei.api.recipe.category.IRecipeCategory.getBackground()" is null
commented

Seems to be fixed in 1.1.17