跳到正文

ChatLagFix

作者:Fus3n

Fixes game stutters and micro-freezes caused by processing chat messages

收藏

介绍

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

ChatLagFix Logo

⚠️ Notice: This mod is unmaintained.

It still works perfectly fine for Minecraft 1.21.11, but will not receive future updates. A better, actively maintained version with additional fixes is available here:

– Modrinth

– Codeberg

– GitHub mirror

This is a small client-side mod for Fabric Minecraft 1.21.11. It prevents the game from freezing or stuttering when chat messages are received or sent on servers.

In vanilla Minecraft, the game processes chat messages on the main render thread. This is the same thread that draws the game to your screen. When a message arrives, the game stops everything to do several heavy tasks:

If any of these tasks take even a few milliseconds, your game will stutter. If they take longer, your game will freeze until the task finishes.

This mod intercepts chat messages the moment they arrive and moves the heavy processing to a dedicated background thread. This allows the main game thread to continue rendering frames without interruption.

Because the processing happens in the background, you might notice a very slight delay before a message appears in your chat box, but your framerate will remain smooth and consistent.

_This was only tested on offline mode I am not even sure if it’s a real problem in online mode. But the processing is done same everywhere so it should work for anyone_

常见问题

ChatLagFix 支持哪些 Minecraft 版本?

ChatLagFix 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ChatLagFix 怎么安装?

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

评论

登录后评论和评分