Async Chat Ported
AsyncChat-Backport - A non-official backport of Async Chat mod to Minecraft 1.20.4, fixing chat-related freezes by processing messages on a dedicated background thread.
截图
介绍
📖 Overview
In vanilla Minecraft, chat message processing—including receiving, parsing, formatting, and security checks—is executed synchronously on the main rendering thread. When network latency is high or the server responds slowly, these operations can block rendering, causing noticeable frame drops, freezes, and “spike” frame times—especially in multiplayer environments where messages are frequently exchanged.
This mod solves that problem by offloading all chat processing to a dedicated background thread.
🔄 What Has Changed in 1.20.4?
The original Async Chat mod targeted an older Minecraft version where the primary chat interception point was the handleChatMessage(PlayerChatMessage, ChatType.Bound) method.
In Minecraft 1.20.4, Mojang has removed this method and replaced it with a new signature:handlePlayerChatMessage(...) which now includes a GameProfile parameter. This change reflects internal updates to how player identity and chat types are managed.
⚙️ How It Works
-
Interception – When a chat message arrives from the server, the mod intercepts it immediately.
-
Offloading – The message is handed off to a separate background thread.
-
Async Processing – All expensive operations (parsing, validation, history updates, etc.) run asynchronously on this background thread. The main rendering thread remains uninterrupted, ensuring smooth and consistent FPS.
-
Safe Rendering – Once background processing is complete, only the thread-safe rendering data is passed back to the main thread for a lightweight UI update. The chat message appears with minimal performance impact.
📜 Credits & License Compliance
Original Project: totorewa/async-chat-mod: Stop render lag by processing chat messages on a separate thread
This Backport: Based on the original work but adapted for Minecraft 1.20.4
License: The origin project licensed under the MIT License.My project licensed under the GNU General Public License v3.0.
Important: This is an independent backport and is not affiliated with the original author. All credit for the core concept belongs to totorewa.
常见问题
Async Chat Ported 支持哪些 Minecraft 版本?
Async Chat Ported 支持 Minecraft Java 版 1.20.4,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Async Chat Ported 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分