Links
Tags
Creators
Details
2.0.4
Compatibility
Required content
Changes
- 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
Textinstance, 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.
Optional dependencies
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:w2SFICvx:WTGMj87L"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:w2SFICvx:WTGMj87L"
}



