mezz / JustEnoughItems

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

[Crash]: JEI cheat mode crash after reloading resources #3756

Open thelyric27 opened 2 months ago

thelyric27 commented 2 months ago

Steps to Reproduce the Crash

Mod version: 15.18.0.79 Fabric, sourced from Curseforge Mod loader: Quilt 0.26.4-beta.7 Minecraft version: 1.20.1

I was checking ore textures from the Excavated Variants mod with some different resource packs for a personal modpack when I started crashing while picking blocks from JEI with cheat mode in creative. When I first load the game, JEI looks and functions as normal, but if I go to the resource packs menu and change something, after reloading all the items in the JEI panel are disorganized, and without fail trying to pick one crashes the game. It doesn't seem to matter what item it is either. It crashes with errors such as

"[Render thread/ERROR]: Reported exception thrown! net.minecraft.class_148: mouseReleased event handler"

and

"java.lang.IndexOutOfBoundsException: Index 54 out of bounds for length 54"

Mod Pack URL (Optional)

[Private, mod list within log]

Mod Pack Version (Optional)

No response

Extra Notes (Optional)

Now that I know exactly what causes it I can avoid the crash on my own and it shouldn't cause issues while me and my friends play, but when I was trying to find out why I was crashing I came across this other unresolved issue and it seemed similar, also happening on the fabric version when picking up an item in cheat mode.

Crash Report

https://mclo.gs/JKC1uQF

mezz commented 2 months ago

Thanks for the report! You have many mods that alter the game in your mod list. Please try narrowing the issue down by seeing if this happens with JEI alone, and then try removing mods to figure out which one is causing a problem. Also, JEI is built against Fabric so please try testing with it to make sure there isn't a problem coming from Quark.

PUrE-elF commented 2 months ago

@thelyric27 Is it going like this ? 1429259