截图
介绍
What does it do?
This mod allows you to write messages starting or ending with spaces and containing consecutive spaces, this includes messages written with /msg.
This is not possible in Vanilla, because the client trimms consecutive spaces and removes spaces at the beginning and end of the message, before sending the message to the server.
Removing this functionality however also means that consecutive spaces in a command may cause it to fail. Lucally you can just not use consecutive spaces in for example an execute command and you’ll be fine.
Again, a message written with /msg will still work like expected with consecutive spaces.
How does the mod prevent trimming?
The mod does this by using a mixin to force the public String normalize(String chatText); method in net.minecraft.client.gui.screen.ChatScreen to allways return what was passed to it as chatText.
常见问题
Spaced Chat 支持哪些 Minecraft 版本?
Spaced Chat 支持 Minecraft Java 版 1.19–26.3,共 29 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Spaced Chat 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分