Перейти к содержимому
Mineforgian

Spaced Chat

Allows you to send chat messages without minecraft trimming your spaces.

Загрузки
1K
Подписчики
5
Обновлён
19 июня 2026 г.
Лицензия
Unlicense

Опубликован 3 октября 2024 г.

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.

Ченджлог

1.0.0Релиз1.21.8, 1.21.9, 1.21.10 · 24 ноября 2025 г.

I accedentally enabled splitSources and wondered why it wouldn't compile. They really could make that error message a bit more easy to understand.

1.0.0Релиз1.21.2, 1.21.3, 1.21.4 · 29 декабря 2024 г.

I should have done this earlier.
Now supports minecraft 1.21.4
This version was actually tested in the minecraft launcher!

1.0.0Релиз1.21.1, 1.21.2, 1.21.3 · 27 октября 2024 г.

It works with 1.21.3 too

1.0.0Релиз1.20.6, 1.21, 1.21.1 · 12 октября 2024 г.

A bit of screaming at gradle later and it's now compiled with java 17 and hence compatible with all versions from 1.19 all the way through to 1.21.1

1.0.0Релиз1.21, 1.21.1 · 7 октября 2024 г.

It should work with this version too... Seems like it.

1.0.0Релиз1.21.1 · 3 октября 2024 г.

Works only in public chat and not with No Chat Reports encryption.

Комментарии

Загружаем…