Changelog
Changelog
194.5.0
for 1.19.4 on Fabric, Quilt
Note: Based on popular opinion, Yet Another Config Lib and Mod Menu are now required.
- Changed the "Chat HUD" config category to "Chat Interface" again, and split the options within it into 2 subcategories: "Heads Up Display (HUD)" and "Screen" for more organization
- You can now use vanilla chat clearing (
vanillaClearing
) if you really want.. (#85) - Fixed the up arrow switching focus to the search field while also accessing sent message history? (#86)
- Completely revamped the method to copy messages! Instead of the old and clunky
/copymessage
command, you just right-click on a message and a menu will appear with a multitude of options to access data contained within the message. For example, you can copy the raw message, a json representation, or even any links within the message! (#77, #87) - There are two config options associated with the new copy menu:
copyColor
andcopyReplyFormat
which control the color of the selection box around the clicked message, and the text that is put into the chat box when clicking on "Reply", respectively - All messages now store their time received in the timestamp's insertion text, which just means if you shift-left click on the timestamp text, it will insert the unix timestamp of the received message into the chat box
- Removed the
/copymessage
command and its translations - Added
fr_fr
translations (huge thanks to Calvineries!) - Refactored some config options and their translations (
saveChat
=>chatLog
,nameFormat
=>chatNameFormat
, andmaxMsgs
=>chatMaxMessages
) to work properly with the new subgroups - Fixed the dupe message adder method breaking when a boundary line was the last message sent
- You can now choose to use a CompactChat style dupe counter, which is explained in the config (#67)
- There is now a CompactChat subgroup under the dupe counter category in the config, which provides
counterCompact
for the toggle andcounterCompactDistance
for how many messages to check for duplicates - Updated YetAnotherConfigLib to 3.0.3-fabric, which overhauls the config UI to use a new tab system, but more notably has image previews now! For
this reason along with popular opinion, YACL is now required to load Chat Patches (#91)
- WARNING: The images currently crash the game, so they've been temporarily disabled until a bugfix is released. Check back in a week or so for the hotfix!
Misc changes and developer stuff:
- Added some more detailed JavaDocs overall
- The old method that was used to condense duplicate messages was overhauled with a slightly faster implementation that doubles as a way to use the
CompactChat style dupe counter. The original method was moved to
ChatUtils#getCondensedMessage(Text, int)
and instead removes the old message, rather than updating the old message and ignoring the new one - Also cleaned up the
YACLConfig
class a little more to use less "magic numbers" and more clear method calls - Added the
[Config.writeCopy]
prefix to a logger call inConfig#writeCopy()
to maintain consistency and clarity - Replaced the common obtaining of
ChatHudAccessor
from the ugly(ChatHudAccessor) client.inGameHud.getChatHud()
with two static methods,ChatHudAccessor.from(ChatHud)
andChatHudAccessor.from(MinecraftClient)
, which wrap the cast for convenience - Added message indices stored in
ChatUtils
to clearly identify what data is being interacted with, instead of magic numbers everywhere - Added the
RenderUtils
class, which currently only has a subclassMousePos
- Added
StringTextUtils#getLinks(String)
for getting all links from a string, used in the copy menu - All of
ChatScreenMixin
is really just complete hell, it's all over the place, but most of the complex methods have javadocs (except for#cps$loadCopyMenu(mX, mY)
which has comments inside). It works especially now together withMenuButtonWidget
which is also disgusting. In the future, when I have time, I will rewrite the whole menu thing as a new class just for menus and buttons, and then use that. For now, I'm so sorry.
Dependencies
Files
chatpatches-194.5.0.jar(8.19 MiB) Primary
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
194.5.0Loaders
FabricQuilt
Game versions
1.19.4Downloads
309Publication date
July 5, 2023 at 10:44 PMPublisher
OBro1961
Owner