Just Enough Items (JEI)

Just Enough Items (JEI)

392M Downloads

[Crash]: JEI Cheatmode Interaction

Lendill opened this issue ยท 2 comments

commented

Steps to Reproduce the Crash

2024-12-06_08 22 44

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:
image

Mod Pack URL (Optional)

No response

Mod Pack Version (Optional)

No response

Extra Notes (Optional)

No response

Crash Report

https://pastebin.com/2WA7ytAy

commented

To add this error occurs only in the creative mode overview. Not in survival as some slots (crafting) are not visible in creative

commented

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)