Context
A java.lang.IllegalStateException occurs when typing in the Creative Mode inventory search bar if the Create mod keybinds (such as the "Shift" modifier for tooltips) are set to NONE. The crash is consistently reproducible after a resource pack reload or world re-entry following the removal of these keybinds.
Steps to Reproduce
Unbind all Create mod keybinds (set them to NONE).
Cause a resource reload (e.g., update a resource pack or re-enter the world).
Open the Creative Mode Inventory.
Type any character into the search bar.
The game instantly crashes to desktop.
Technical Details
Minecraft Version: 1.21.1
NeoForge Version: 21.1.228
Create Version: 6.0.10
Error: Encountered GL error off-thread @ Render: 65539: Invalid key -1
Stacktrace highlight: The crash occurs at com.simibubi.create.AllKeys.isKeyDown(AllKeys.java:107) while attempting to append hover text to items during the search tree update.
Suspected Cause
The FilterItem.appendHoverText method calls AllKeys.shiftDown(), which attempts to check the state of key -1 (unbound) via GLFW, triggering an illegal state exception on the render thread.
Crash Report
https://mclo.gs/fnWRvI5
Context
A java.lang.IllegalStateException occurs when typing in the Creative Mode inventory search bar if the Create mod keybinds (such as the "Shift" modifier for tooltips) are set to NONE. The crash is consistently reproducible after a resource pack reload or world re-entry following the removal of these keybinds.
Steps to Reproduce
Unbind all Create mod keybinds (set them to NONE).
Cause a resource reload (e.g., update a resource pack or re-enter the world).
Open the Creative Mode Inventory.
Type any character into the search bar.
The game instantly crashes to desktop.
Technical Details
Minecraft Version: 1.21.1
NeoForge Version: 21.1.228
Create Version: 6.0.10
Error: Encountered GL error off-thread @ Render: 65539: Invalid key -1
Stacktrace highlight: The crash occurs at com.simibubi.create.AllKeys.isKeyDown(AllKeys.java:107) while attempting to append hover text to items during the search tree update.
Suspected Cause
The FilterItem.appendHoverText method calls AllKeys.shiftDown(), which attempts to check the state of key -1 (unbound) via GLFW, triggering an illegal state exception on the render thread.
Crash Report
https://mclo.gs/fnWRvI5