Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

204.6.4

Changelog

Chat Patches 204.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 chatNameFormat is 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 [prepub impl]
  • 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_PATH and CHATLOG_PATH variables to use the Path#resolve(String) method instead of concatenating strings
    • Removed some (now) redundant file constants and references (in StringTextUtils and Config)
    • Condensed most make... methods in Config to 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 modifyMessage method to ChatUtils to help development and greatly ease future troubleshooting
    • Created a new ChatUtils#getArg(..) method to avoid the elusive ClassCastExceptions that kept getting thrown
    • Tweaked the MessageHandlerMixin#cacheGameData method to use built-in methods instead of rewriting the same thing
    • Removed the VANILLA_MESSAGE matcher in ChatUtils because it was redundant

Files

chatpatches-204.6.4.jar(1.8 MiB) Primary Download

External resources



Project members

OBro1961

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID