mezz / JustEnoughItems

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

[Crash]: JEI x Artifacts x Supplementaries JEI cheat mode crash ''Index Out of bounds'' #3460

Open ALainxD opened 7 months ago

ALainxD commented 7 months ago

Steps to Reproduce the Crash

When you go into creative mode, open JEI, activate cheat menu and give yourself a Item the game crashes ONLY if also supplementaries is installed. If Supplementaries ->OR<- Artifacts is disabled it works fine, but both active it causes that crash.

To Reproduce Steps to reproduce the behavior:

  1. Make a new Fabric 0.15.7 MC1.20.1 instance add mods: JEI, Supplementaries and Artifacts and their dependencies.
  2. Start MC, make new world, creative mode, start world.
  3. Open your inventory, go to the normal player inventory (not in a creative items tab), enable cheat mode in JEI and give yourself a item.
  4. Minecraft crashes MC error code: ''The game crashed whilst mousereleased event handler Error: java.lang.IndexOutOfBoundsException: Index 54 out of bounds for length 54''

Game Environment Artifacts: artifacts-fabric-9.3.1.jar Forge/Fabric Api: Fabric 0.15 Other mods needed -> Amendments 1.20-1.1.10 [required by Supplementaries] Architectury 9.2.14 [Required by Artifacts] Artifacts 9.3.1 Cloth Config v11 11.1.118 [required by Artifacts] Fabric API 0.92.0+1.20.1 Fabric Loader 0.15.7 Just Enough Items 15.3.0.4 moonlight-1.20-2.11.4-fabric.jar [required by Supplementaries] Supplementaries 1.20-2.8.6 Trinkets 3.7.2

Mod Pack URL (Optional)

No response

Mod Pack Version (Optional)

No response

Extra Notes (Optional)

Game Environment Artifacts: artifacts-fabric-9.3.1.jar Forge/Fabric Api: Fabric 0.15 Other mods needed -> Amendments 1.20-1.1.10 [required by Supplementaries] Architectury 9.2.14 [Required by Artifacts] Artifacts 9.3.1 Cloth Config v11 11.1.118 [required by Artifacts] Fabric API 0.92.0+1.20.1 Fabric Loader 0.15.7 Just Enough Items 15.3.0.4 moonlight-1.20-2.11.4-fabric.jar [required by Supplementaries] Supplementaries 1.20-2.8.6 Trinkets 3.7.2

Crash Report

https://gist.github.com/ALainxD/cf99273a416177781bf127cd8ea09a40

ALainxD commented 7 months ago

Artifacts issue: https://github.com/ochotonida/artifacts/issues/250

Supplementarie issue: https://github.com/MehVahdJukaar/Supplementaries/issues/982

github-actions[bot] commented 4 months 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.

garyyo commented 3 months ago

I don't have anything new to add but, information from other threads wasn't propagated here. It seems to be some interaction with too many slots being added in trinkets (8 or more), while also being in creative.

Here is a claim that it can be replicated with a minimum of JEI, Trinkets, and a datapack: https://github.com/ochotonida/artifacts/issues/250#issuecomment-2053603448

Trinkets claims not to be responsible: https://github.com/emilyploszaj/trinkets/issues/306

mezz commented 3 months ago

Thanks for adding the info here. I'll discuss with the other devs to see what's happening.

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.