90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
- Fixed an issue where long messages being spammed would cause the game to lag more than it does in vanilla. (#27)
- Message occurrences stop incrementing after 100 occurrences, it will say
100+
for anything above 100.
Minor performance improvements and under-the-hood changes.
-
Messages are now identified by their string contents, and not their
Text
instance, meaning that the mod should be faster in general - but this may not be that obvious. -
We have added a cache to Minecraft’s code which splits a single text message into multiple lines to be displayed, this was an expensive operation, and if it was being run for the same message multiple times (which is the case with Compact Chat, but not in vanilla, due to us removing duplicate messages), it will cause a lot of lag. This cache’s entries are cleared if the entry has not been accessed for over a minute.
Dependencies
Files
compact-chat-2.0.4.jar(22.7 KiB) Primary Download
Details
Licensed MIT
Published 3 years ago
Updated 5 months ago