Skip to content

1.19.2 - 1.5.6: So many fixes!

Compare
Choose a tag to compare
@mrbuilder1961 mrbuilder1961 released this 18 Dec 21:16

Sorry this is so late, I'm so tired of finals and I was being a little slow implementing some of this stuff. Anyways, here's your changelog. Be warned that most of the stuff is about the code, so I bolded and italicized the biggest changes that affect you the most. Enjoy, and if you like the mod, consider leaving a star! If you have any issues or suggestions, open one up on the Issues page.

Changelog

Significant

  • renamed shiftHudPos to shiftChat, and specific "Str" and "Format" options to end with "Date" or "Format" instead for clarity and common sense
  • now when the config has been updated (or cannot be loaded), the original will be saved as wmch_old.json so settings can be migrated over
  • after restoring all messages, resets each message's sent time to prevent showing them all right away (#42)
  • added the lastWorld field, which retains information about the current and last world/server joined for #34 and fixing extras being sent on minigame servers

Specific

  • Mod Menu integrated config now has some informational links for formatting the time and format-able string options
  • Option class has been removed and replaced with an "abstract" one as a nested class. has the same functionality as before but now is properly utilized
  • new "abstract" options are made dynamically through the Java Reflection API by the use of field names and values
  • moved updateConfigBuilder method to ClothConfig and expanded it to updateBuilder, with save consumers coded directly into the builder
  • removed validate method and moved functionality into newConfig
  • revised readFromFile into read and added better actions on error handling
  • removed NoChatReports config accessor class for reading the convertToGameMessage setting, now instead of only formatting system messages if that returned true, it will always format system messages if the other criteria is met
  • added getVisibleMessages to the ChatHudAccessor mixin for #42
  • heavily condensed shiftChat's ModifyVariable mixins from 7 to 3 by targeting the variables instead of each method arg
  • overhauled the playername message formatter to keep complex message styles intact (#40)
  • removed old and unused integration classes
  • simplified ChatLog method calls
  • fixed and simplified some potentially inverted message comparisons
  • moved the part of WMCH.java that restored the chatlog into the new restore method
  • added a Util.Flag.BOUNDARY_LINE to replace Util.isBoundaryLine
  • tweaked some Flag methods
  • tweaked most Util methods to work better or to fix something
  • replaced the entirety of the content of formatString with a text builder that uses the built in section-sign symbol to format text objects
  • Implemented #36, #37, #38, #39, #41