Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Shut Up GL Error

Shut Up GL Error

Fixes invalid keycodes logging obnoxious and constant messages

707.8k
65
Game Mechanics
Optimization
AboutChangelogVersions

Shut Up GL Error

forge fabric

Fixes invalid keycodes logging obnoxious and constant messages:

########## GL ERROR ##########
@ Pre render
65539: Invalid key -1

I played on my modpack, where I have many unbound keys, for 3 hours and 4000 of these errors were logged.

The Solution

This mod simply patches the InputConstants#isKeyDown method to return false when the keycode is -1 or 0. There was never a real error going on here - not the kind you should have to worry about and definitely not the kind that should pollute logs constantly.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.20–1.20.2

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Client-side

Links

Report issues View source Join Discord server

Creators

Jam Core
Jam CoreOrganization

Details

Licensed MIT
Published last year
Updated last year

Modrinth is open source.

main@58dac27

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.