Skip to content

Red Core 0.4

Compare
Choose a tag to compare
@Desoroxxx Desoroxxx released this 07 Sep 18:34
· 133 commits to main since this release

Changelog File (Include Previous Versions)

Red Core Version 0.4 Changelog - 2023-09-07

Highlight

Welcome to Red Core 0.4 a non-breaking release that includes a lot of Quality of Life enhancements and general polishing of certain parts of Red Core.

Red Core 0.5 will be a breaking release since we will switch from io.redstudioragnarok to dev.redstudio stay tuned as dev builds will only be released for devs on GitHub as to not cause issue will mods prepare their updates.

Networking with Vectors just got a lot easier and cleaner too!

You now have read and write methods for all Vectors from Red Core, it simply take in ByteBuf and takes care of the rest.

Before
Before
After
After

Red Logger just got cleaner!

RedLogger#printFramedError will not add empty lines anymore if whatNow and/or additionalInformation is empty.

Before
Before
After
After

Added

  • NetworkUtil: Designed to streamline network coding practices, this utility makes writing cleaner, safer, and more efficient networking code effortless.
  • Added read and write methods to all vectors that allows for easy networking
  • Added int, short and byte versions of clampTest, clampMinFirst and clampMaxFirst in MathUtil
  • Added int versions of the vectors
  • Added a Vec2f constructor for the 2-dimensional vectors
  • Added a zero method for the 2-dimensional vector
  • Added missing pack.mcmeta

Changed

  • Red Core is now a core-mod making it load as early as possible, so Red Core can now be used in Mixins for example
  • RedLogger#printFramedError will not add empty lines if whatNow and/or additionalInformation is empty
  • Improved error logging of the Stopwatch
  • Red Core jar name now has a ! at the start so that it gets loaded earlier than mods using it
  • Cleaned up the vectors they might be slightly more performant as a result
  • Updated mcmod.info

Fixed

  • Fixed Red Core using the wrong GitHub issue link when logging errors
  • Fixed Red Core using its id instead of its name for logging