mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-15 17:05:09 +01:00
4076ee2b6f55df75ad6fecd545cb62dcb112432b
Builds targetting Minecraft versions below 1.21.6 will now once again contain the `getScreen` method with `Screen` as their return value instead of `MidnightConfigScreen`. This ensures that mods compiled for older MidnightLib versions continue working as expected. The return value has to be changed to `MidnightConfigScreen` in 1.21.6 and up due to NeoForge removing support for the `@OnlyIn` annotation – thus breaking server-only installations when referencing client-only classes like `Screen`.
MidnightLib
Lightweight Common Library for Minecraft mods.
Provides a config api with a nice GUI and common utilities, all in a very small file.
Languages
Java
100%