Releases: Zanges/EarlyInputGuard
Early Input Guard 1.0.0
Client-side NeoForge mod for Minecraft 1.21.1 (NeoForge 21.1.x).
Prevents startup crashes where a mouse click, key press, or per-tick event is dispatched to another mod's listener before that mod has registered its keybinds (e.g. Quark HotbarChangerModule, Arknights Endfield KeyInputHandler), producing a KeyMapping NullPointerException.
Guards NeoForge ClientHooks mouse-button, scroll, key-input, and client-tick dispatch. Input is suppressed during loading screens and broken mod states; ticks are suppressed in broken mod states (and, optionally via config, during loading screens). The dependency-error screen and a healthy fully-loaded game are unaffected.
Install: drop earlyinputguard-1.0.0.jar into your mods folder (client only).
Requires: Minecraft 1.21.1, NeoForge 21.1.x.