Tags
Creators
Details
Licensed LGPL-3.0-only
Published 4 years ago
Updated last month
All versions
Chat Patches
202.6.4
Release
202.6.42 years ago 7,304
Compatibility
Minecraft: Java Edition
1.20.2
Platforms
Fabric
Quilt
Supported environments
Client-side
Required content
Changes
Chat Patches 202.6.4 for Minecraft 1.20.2 on Fabric, Quilt
- Fixed errors with regex input on the search screen not updating the text color
- Made ChatSearchSettings save when the chat screen is closed then reopened; resets on game restart
- Fixed team name colors, prefixes, and suffixes being ignored when
chatNameFormatis customized (#115) - Added a new runnable config option to reload the config from disk
- Added a minor optimization to the way messages are modified to largely simplify the process in a few scenarios
- Switched the text in the search settings screen to use pre-bundled translations (ON/OFF instead of a visual switch)
- Fixed the Copy String > Copy Raw String button in the copy menu removing &<code> formattings
- Dev notes:
- Changed the
CONFIG_PATHandCHATLOG_PATHvariables to use thePath#resolve(String)method instead of concatenating strings - Removed some (now) redundant file constants and references (in
StringTextUtilsandConfig) - Condensed most
make... methods inConfigto be less repetitive formatPlayername(GameProfile)now accounts for team metadata as mentioned in the #115 fix- Capitalized some static final variables
- Changed some stuff about how the config is initialized, read, and written to disk
- Refactor StringTextUtils to TextUtils
- Restructured the powerhouse
ChatHudMixin#modifyMessage(Text, boolean)method to be more modular with message reconstruction - Moved the bulk of the
modifyMessagemethod to ChatUtils to help development and greatly ease future troubleshooting - Created a new
ChatUtils#getArg(..)method to avoid the elusiveClassCastExceptions that kept getting thrown - Tweaked the
MessageHandlerMixin#cacheGameDatamethod to use built-in methods instead of rewriting the same thing - Removed the
VANILLA_MESSAGEmatcher inChatUtilsbecause it was redundant
- Changed the
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:MOqt4Z5n:CJSA1rj9"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:MOqt4Z5n:CJSA1rj9"
}



