
[Bug]: Conflict with JEI 19.22.0.315 Causes ToolBelt Keybind Crash (NeoForge 1.21.1)
Akira20045 opened this issue · 0 comments
Steps to Reproduce the Bug
Install Minecraft 1.21.1 with NeoForge 21.1.193.
Install ToolBelt 2.2.6 and JEI 19.22.0.315.
Launch Minecraft and attempt to load into a world.
Result: The game crashes immediately due to a keybind-related NullPointerException from ToolBelt.
Expected Behavior
ToolBelt mod keybinds should register and function correctly, irrespective of the JEI version.
Actual Behavior
With JEI 19.22.0.315, ToolBelt’s keybind (OPEN_BELT_SLOT_KEYBIND) fails to register and results in a crash with the following exception:
{java.lang.NullPointerException: Cannot invoke "net.minecraft.client.KeyMapping.consumeClick()" because "dev.gigaherz.toolbelt.client.ClientEvents.OPEN_BELT_SLOT_KEYBIND" is null} at [email protected]/dev.gigaherz.toolbelt.client.ClientEvents.handleKeys(ClientEvents.java:88)
Downgrading JEI to 19.21.0.247 resolves the crash entirely, indicating a specific conflict introduced in JEI 19.22.0.315.
Mod Pack URL (Optional)
No response
Mod Pack Version (Optional)
No response
Extra Notes (Optional)
No response
latest.log
https://gist.github.com/Akira20045/ad60e904300e98fd5ad4847550362e56