promotional bannermobile promotional banner

Red Core

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

Red Core 0.4

File name!Red-Core-0.4.jar
Uploader
DesoroxxxDesoroxxx
Uploaded
Sep 7, 2023
Downloads
90.9K
Size
75.1 KB
Mod Loaders
Forge
File ID
4742905
Type
B
Beta
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:red-core-873867:4742905")

Learn more about Curse Maven

What's new

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
Type
Name
Game Versions
Mod Loaders
Size
Downloads
Uploaded