Red Core

Red Core

Mod

Red Core is the foundational library for Red Studio projects and associated projects.

Client and server Library

63.4k downloads
6 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Red Core 0.4

Changelog

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

Before

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

Files

!Red-Core-0.4.jar(75.12 KiB) Primary Download
Red-Core-0.4-sources.jar(20.27 KiB) Download

Project members

Desoroxxx

Owner

Details

Licensed MIT
Published a year ago
Updated a year ago