Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Crash]: JEI Cheatmode Interaction #3859

Open
Lendill opened this issue Dec 6, 2024 · 2 comments
Open

[Crash]: JEI Cheatmode Interaction #3859

Lendill opened this issue Dec 6, 2024 · 2 comments

Comments

@Lendill
Copy link

Lendill commented Dec 6, 2024

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

@Lendill
Copy link
Author

Lendill commented Dec 6, 2024

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

@ShadoHax
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants