mezz / JustEnoughItems

Item and Recipe viewing mod for Minecraft
https://www.curseforge.com/minecraft/mc-mods/jei
MIT License
788 stars 304 forks source link

[Bug]: JEI inventory doesn't appear. At all. #3652

Open JuriGagarian opened 3 months ago

JuriGagarian commented 3 months ago

Steps to Reproduce the Bug

I honestly have no clue.

Expected Behavior

JEI gui should appear on the right side of my inventory tab.

Actual Behavior

Doesn't work. It's just not there - refuses to appear at all, even though it is loaded, and JEI keybinds are showing up in control menu. Yes, i tried ctrl+o (no, i did not rebind that shortcut) and it still doesn't show up.

Mod Pack URL (Optional)

No response

Mod Pack Version (Optional)

No response

Extra Notes (Optional)

No response

latest.log

https://gist.github.com/JuriGagarian/305473221de5dce5aaf23e5fd3146fe6

Orlqk commented 3 months ago

I had the same problem but apparently, rubidium/embeddium extra makes it that the JEI gui does not show up if there is nothing typed in the search bar but that can be fixed in the config of the mod. For me I had to go in to the config of Embeddium++ and change a setting that stated HideJrei=true to false Screenshot (6) Hope that helps

mezz commented 3 months ago

Thanks for the report!

In the case of the OP, there is a crash in JEI's GUI plugin that causes it to not show up at all:

[08:17:11] [Render thread/ERROR]: Caught an error from mod plugin: class mezz.jei.forge.plugins.forge.ForgeGuiPlugin jei:forge_gui
java.lang.IllegalStateException: Item has no registry name: 1 air BlockItem(org.cyclops.evilcraft.block.BlockBloodInfuser)
    at mezz.jei.common.util.StackHelper.lambda$getRegistryNameForStack$0(StackHelper.java:65) ~[jei-1.20.1-forge-15.8.2.25.jar%23307!/:15.8.2.25]
    at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]

This is an issue with evilcraft. I will try to work around it so that JEI doesn't just crash.

mezz commented 3 months ago

I have pushed some changes that should protect against this type of crash, it will be available in around 15 minutes. Please try it out and let me know what happens.

github-actions[bot] commented 2 weeks ago

This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.