[Crash]: JEI Cheatmode Interaction
Lendill opened this issue ยท 4 comments
Steps to Reproduce the Crash
Hi,
in this specific scenario my game currently crashes. I enable the JEI cheatmode, go to this specific inventory screen and try dragging an item to my inventory. The moment I leftclick or middleclick any item from the JEI interface it crashes the game.
I tracked out down to these mods being the main reason if they are combined:
- Create
- Supplementaries
- Jewelry (RPG series) + additional jewelry (more rpg series)
- Lets do WilderNature
- Travellers Backpack.
The moment I remove one of them - the game no longer crashes when using cheatmode within this specific inventory screen. They all interact with the trinket mod in some way, but other mods that also do don't cause a crash.
My mod list including the five mods and their dependencies:

Mod Pack URL (Optional)
No response
Mod Pack Version (Optional)
No response
Extra Notes (Optional)
No response
Crash Report
To add this error occurs only in the creative mode overview. Not in survival as some slots (crafting) are not visible in creative
may be related to the sendSlotPacket method located in Gui\src\main\java\mezz\jei\gui\util\CommandUtil.java which can overflow past 54 with enough trinket slots (causing the index oob error of 54 oob for length 54)
I think this doesn't happen in survival because the manner in which items are given in survival is different (you can see the console printing what was given, something that doesn't appear in creative)
a temporary fix for this issue is available by changing the GiveMode flag within the [cheat_mode] section inside the jei-client.ini file from MOUSE_PICKUP to INVENTORY (..\.minecraft\config\jei\jei-client.ini)
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.
