Chat Patches 211.6.9
for Minecraft 1.21, 1.21.1 on Fabric, Quilt
- Fixed blank messages being sent instead of Xaero's Minimap waypoints (#158)
- Should also fix any issues in the special case where a message is modified in between receiving and storing it
- Synced
zh_cn.json
with the current English translation, thanks suoyukii! (#203) - Dev notes:
- The config will now always appear open-able regardless of installed mods, but will instead prompt the user to install YACL (1.19 or newer) or Cloth Config if it's not already installed. However, this is currently useless as YACL is required in newer versions, and is more for backwards compatibility
Chat Patches 211.6.7
for Minecraft 1.21, 1.21.1 on Fabric, Quilt
- Gradle 8.10
- Fixed the chat log enchantment registry crash, thanks ArkoSammy12! (1.20.5+, #180)
- Now requires the user to be in-game to save or load
- Clarified this new requirement in the description
- Now logs how long loading and saving takes
- Removed
MinecraftClientMixin
, which may result in losing data on some crashes whenchatlogSaveInterval
is set to zero - Removed debug logpoint in
ChatUtils#tryCondenseMessage
- Fixed the 'Copy JSON String' copy menu button sometimes causing the game to crash, should now instead log an error and copy a warning
- Fixed boundary lines instantly rendering when the chat is opened (#151)
- Removed literal newline in
fabric.mod.json
(#159) - Fixed the
shiftChat
option not shifting hover events (#172) - Added a basic crash prevention mechanism for
ConcurrentModificationException
s while saving the chat log (if it works, #181) - Fixed the search bar rendering over the input suggestor (#186)
- Simplified part of the chat shifting process in
ChatHudMixin#moveChatLineY
, resolving an incompatibility with ChatShot (#187) - Added an option to modify the height of the chat box for larger screens (#190)
- Added support for 1.21.1!
- Note: There was technically TWO code privatizations in 1.21.1, but they had simple fixes
- Added Korean translation from Nooiee! (#193)
- Fixed team messages showing up blank and throwing an error (#199)
- Modified messages should now be used even if errors occurred, so long as they're still valid. This might be undone in the future based on feedback
Chat Patches 201.5.6
for Minecraft 1.20.1 on Fabric, Quilt
- Improve performance when using compact chat
- Make ModMenu a recommended dependency instead of a required one; allow Menulogue + Catalogue (#120, #145)
- Bump all dependencies
- Port long since upgraded
build.gradle
,fabric.mod.json
- Unfortunately this version is still missing features from newer ones like
206.6.5
:( - Sorry for the super long delay for this minor update.. my bad!
- Dev notes:
WARNING: THIS VERSION HAS A BUG THAT DOES NOT ALLOW CONFIG EDITING
Chat Patches 210.6.5
for Minecraft 1.20.5, 1.20.6, 1.21 on Fabric, Quilt
- Ported to Minecraft 1.21!
- Dev notes:
- Since this is the first release for 1.21, and because on the surface at least this appears to be compatible with 206.6.5, the source branches will be split just in case any breaking issues arise later
? WARNING ?: THIS RELEASE SHOULD BE COMPATIBLE WITH MINECRAFT VERSIONS 1.20.5-1.21, BUT ERRORS MAY OCCUR
Chat Patches 206.6.5
for Minecraft 1.20.5, 1.20.6 on Fabric, Quilt
- Actually updated to Java 21 and Gradle 8.7
- Fixed copy menu rendering behind other chat elements
- Otherwise identical to
204.6.5
- Dev notes:
- Switched some references from
Text.Serialization
toTextCodecs.CODEC
due to weird new registry stuff - Minecraft made adding messages into the chat use a more modular system, however this makes future unified jar plans more difficult
- Switched some references from
Chat Patches 204.6.5
for Minecraft 1.20.4 on Fabric, Quilt
- Fixed certain messages from showing up blank and logging
ArrayIndexOutOfBoundsException
s (#156) - Fixed normal duplicate messages not having a counter (1.20.4 only, #157)
- Fixed CompactChat duplicate messages not having a counter (1.20.2-4)
- Added a help section to the README, which currently explains how to upload log files and access beta versions fresh from Actions
Chat Patches 204.6.4
for Minecraft 1.20.4 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
andCHATLOG_PATH
variables to use thePath#resolve(String)
method instead of concatenating strings - Removed some (now) redundant file constants and references (in
StringTextUtils
andConfig
) - Condensed most
make
... methods inConfig
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 elusiveClassCastException
s 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 inChatUtils
because it was redundant
- Changed the
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
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
andCHATLOG_PATH
variables to use thePath#resolve(String)
method instead of concatenating strings - Removed some (now) redundant file constants and references (in
StringTextUtils
andConfig
) - Condensed most
make
... methods inConfig
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 elusiveClassCastException
s 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 inChatUtils
because it was redundant
- Changed the
Chat Patches 202.6.3
for Minecraft 1.20.2 on Fabric, Quilt
- Should be compatible with Quilt again! (requires Loader 0.23.0+)
- Note that Chat Patches still isn't developed directly for Quilt, issues may still arise
- Added the
counterCheckStyle
option, which controls checking style data when condensing duplicate messages (#144) - Added the
chatNameColor
option, which overrides the color of playernames in vanilla chat messages. (#133) - Removed MoreChatHistory as incompatible, due to MixinExtra's compatibility injectors! (it's actually been compatible for a while, but I forgot to remove it)
- Dev info:
- Overhauled the publishing system for CurseForge and Modrinth, revived the GitHub Releases channel, and added a webhook to the Discord server to automatically post new releases! Now only uses modmuss50-publish-plugin, which is much cleaner and easier to use
- Moved most volatile Gradle variables to
gradle.properties
to make it easier to change them - "Synced" some parts of the
build.gradle
file with the fabric-example-mod template to fix old warnings and keep it up to date - Added two specific methods to
StringTextUtils
for use with dupe counter methods, to work with the newcounterCheckStyle
option - Removed the weird returning message reconstruction segment from
ChatUtils#getCondensedMessage(Text, int)
because it was actually unnecessary! - Added some uncertain notes about certain aspects of the dupe counter process
Chat Patches 204.6.2
for Minecraft 1.20.4 on Fabric
- Effectively synced with the 1.20.2 version
- Fixed log spam with
UnsupportedOperationException
s when loading the chat log (thanks ArkoSammy12!) - Fixed the chat log crashing the game when saving a message that opens a file when clicked (#138)
- Note: these two only apply to Minecraft versions 1.20.3 and above
- Fixed a couple issues with the Smooth Scroll mod thanks to @SmajloSlovakian! (#139, #141)
- Switched
chatWidth
's YACL max value to the game window's width. Note: this can be incorrect if the game window is resized after the config screen is opened. To fix this, just open the config screen when the game window is at the desired size. - Fixed messages starting with a newline not being copyable
- Dev stuff:
- Change source Java version to 21 and update Gradle to 8.5
- Replaced weird
ChatLog#serialize(boolean, String)
method with#backup()
- Updated
Config#writeCopy()
to use the same thought process asChatLog#backup()
Dev note: many little changes have not been synced to this branch yet, as 1.20.2 is still the active-development version.
Chat Patches 202.6.2
for Minecraft 1.20.2 on Fabric
- Skipped version 202.6.1
to re-sync with the 1.20.4 version
- Remove Gradle integration system, it was completely unnecessary and unused
- Fixed messages starting with a newline not being copyable
- Switched
chatWidth
's YACL max value to the game window's width. Note: this can be incorrect if the game window is resized after the config screen is opened. To fix this, just open the config screen when the game window is at the desired size. - Fixed a couple issues with the Smooth Scroll mod thanks to @SmajloSlovakian! (#139, #141)
- Dev stuff:
- Change source Java version to 21 and update Gradle to 8.5
- Replaced old
Instant
references withDate
ones for consistency - Removed the
SharedVariables
class and redistributed its one useful variable toChatPatches
- Removed the
MiscUtils
class and redistributed#currentWorldName(MinecraftClient)
toChatPatches
- Replaced weird
ChatLog#serialize(boolean, String)
method with#backup()
- Updated
Config#writeCopy()
to use the same thought process asChatLog#backup()
Chat Patches 202.6.0
for Minecraft 1.20.2 on Fabric, Quilt
- Removed MixinExtras from dependencies because it's automatically bundled with the Fabric Loader since
0.15.0
! - Add "Only Invasive Drafting" option (#131 -JustAlittleWolf)
- Improve mod compatibility with the dupe counter injector + teeny optimizations (#132 -JustAlittleWolf)
- Extracted
chatLog
to the new ChatLog tab in the config - Added a new config option to the tab:
chatLogSaveInterval
, which configures the timer for saving the chat log to disk - Added new executable buttons to the chat log tab to manipulate it in game: Clear all messages, Clear sent messages, Clear regular messages, Load, Save, and Backup
- Additionally, the chatlog will now only actually write to disk if it has been modified since the last save (#134)
- Inform users that Catalogue + Menulogue works as a substitution for ModMenu (#42)
- Removed an unused variable from
ChatSearchSetting
- Fixed some weird messages and game events formatting incorrectly, such as the Open-to-LAN message
Chat Patches 202.5.7
for Minecraft 1.20.2 on Fabric, Quilt
- The ChatLog now removes the oldest message and adds the newest one once the max limit is reached (#130)
- Additionally, the ChatLog now only keeps and loads the newest data when loading a chat log file that is over the limit
- Cleaned up other unnecessary code in
ChatLog
Chat Patches 202.5.6
for Minecraft 1.20.2 on Fabric, Quilt
- Improve performance when using compact chat (#118 -JustALittleWolf)
- Fix longer messages sometimes not compacting properly (#123 -JustALittleWolf)
- Make ModMenu a recommended dependency instead of a required one (#120)
- Extract textures to individual
.png
s to align with Minecraft's new sprite system - Removed an unused button sprite
- No longer writes the
chatlog.json
file to disk if the ChatLog is empty - Fixed the Copy Raw String button including formatting data (#122)
Chat Patches 201.5.5
for Minecraft 1.20, 1.20.1 on Fabric, Quilt
- YACL images now load without crashing the game! Enjoy preview images right from the get-go!
- Fixed #108, thanks replaceitem!
- Fixed some minor grammar issues in the
fabric.mod.json
file - Reverted the
client
split sources change from201.5.4
because it was causing issues and is unnecessary - Fix some mods that inject into
ChatHud.clear()
not working - Changed
ChatHudAccessor
prefixes