跳到正文

OpenGL Error Suppressor

Stop OpenGL errors from spamming in the logs, only allowing unique errors to log once.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

OpenGL Error Suppressor

Have you ever noticed in your logs a constant spamming of GL errors like this?

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

With this lightweight mod, only unique OpenGL errors will log exactly once, suppressing all subsequent spam.


You may or may not notice a few warning logs in your console during startup. These are completely harmless and can be safely ignored as the mod works regardless.

Example (only on 26.1 and 26.2):

[xx:xx:xx] [main/WARN]: Error loading class: net/minecraft/class_1041 (java.lang.ClassNotFoundException: net/minecraft/class_1041)
[xx:xx:xx] [main/WARN]: @Mixin target net/minecraft/class_1041 was not found opengl-error-suppressor.mixins.json:WindowMixin from mod opengl-error-suppressor
[xx:xx:xx] [main/WARN]: @Mixin target net/minecraft/class_1041 was not found opengl-error-suppressor.mixins.json:WindowMixin from mod opengl-error-suppressor

Credits & Differences

This mod is an adaptation of Jamalam‘s Shut Up GL Error. The main difference is that this mod doesn’t require any dependencies, is compatible with a wider range of versions, and has no behavior configurations.

Other than that, this mod does make use of the Minecraft-bundled FastUtil primitive sets, which makes this more optimized, but there isn’t much of an in-game performance difference in that regard anyway.

常见问题

OpenGL Error Suppressor 支持哪些 Minecraft 版本?

OpenGL Error Suppressor 支持 Minecraft Java 版 1.14.4–26.2,共 43 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

OpenGL Error Suppressor 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分