MoonlightCore | 3.0.1
This 3.1.0 is a version of little cleanups of the mod, some events were deleted:
- LevelRendererEvent:
- BEFORE_SKY
- BEFORE_SOLID_BLOCKS
- BEFORE_CUTOUT_MIPPED_BLOCK_BLOCKS
- BEFORE_CUTOUT_BLOCKS
- BEFORE_ENTITIES
- BEFORE_BLOCK_ENTITIES
- BEFORE_PARTICLES
- BEFORE_WEATHER
These events were removed leaving only the AFTER events
With this, now, the Data Attachments were not transfering to players when respawning (when they have this enabled).
And other tecnical changes inside the mod.
Moonlight Core 3.0.0
With the 3.0.0 here are some new things! (haha(pain))
Well, starting, the 3.0.0 comes with 1.20.x support (at the moment I'm publishing this I'll be porting to the next 1.20.x versions and 1.21.x versions), and with this, there is MinecraftForge support now!
Networking
Well, the mod had a more difficult networking system, but that time has gone! (for now)
the networking on the 1.20.1 (version were is publish this 3.0.0 moonlight core) had a completely different networking system, so I'll update it with the versions.
But hey! It's something more simpler now, and it works with Forge! Yes! You hear that, new compatibility with Forge on Moonlight Core, that means a new bridge between MultiLoader mods and networking more comfortably
Events
The events have been fully reworked! Now with a system more like the Fabric's one, more simplifier but functional and without errors.
The new event system allows developers to create and dispatch their events on a more comfortable way!
Configuration
The configuration system isn't free of these reworked system, but it's true that it did not change a lot, but hey! It's something better.
Now MoonlightCore isn't the one that load the files for your configurations, that means BYE config tracker and it's thread, also in these changes are the new deserialization system for the configurations, developers can now implement their own configuration de-serializers for their mods if they want.
Also... The configuration files changed its format... Now the configuration files provided with MoonlightCore are on a subdirectory of the config directory, the "ml_configs" directory that will have all the new configuration files that are now txt
files
Registry
All those registration events are gone now! Now developers should implement their own registration logic for their registries using the Moonlight Core registration utilities (at the moment, it can change with the time)