[Changelog File (Include Previous Versions)](https://github.com/Red-Studio-Ragnarok/Red-Core/blob/main/Changelog.md)
## 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

##### After

### Red Logger just got cleaner!
`RedLogger#printFramedError` will not add empty lines anymore if `whatNow` and/or `additionalInformation` is empty.
##### Before

##### 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
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }