IInventory and IItemHandler share a method with the same signature
Her02N0one opened this issue ยท 2 comments
Quick description
when you try to look at a seed analyzer with a seed in it, with the Jade mod installed, it crashes the game.
I posted this earlier but I forgot to format it. I wrote it on my phone, so the template didn't come up.
Mods and versions used
- Minecraft: 1.16.5
- AgriCraft: 3.0.2
- InfinityLib: 2.0.4
- Jade ๐: 2.7.1
Steps to replicate the issue
- Loaded up a new world
- Placed a seed analyzer
- Right-clicked with Agricraft seed on the seed analyzer
- Game freezes for a few seconds and then crashes.
Expectations and explanations
The game shouldn't crash. And perhaps the mod could even support Jade, which is a fork of HWYLA, to display block info.
Your environment
- How are you playing?
- Operating System: Windows 10
- Launcher: Curseforge
- Modpack: Custom testing modpack, just Jade Agricraft and Infinitylib
- What kind of server:
- Singleplayer
- Multiplayer
- Game Modes:
- Survival
- Creative
- Save File:
- Brand new save
- An existing save
Links to crash logs, stack traces, etc
Don't think this has anything to do with Jade.
I've discovered MCP mapped IInventory and Forge IItemHandler both have a method getStackInSlot(int), however the former will get obfuscated while the latter doesn't, so at compile time, this method's implementation is missing.
This will be a bother to fix, and it's a critical issue too.
Fixed with InfinityRaider/InfinityLib@18c6f21