Martin Prokoph 4076ee2b6f stonecutter: improve backwards-compatibility
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`.
2025-11-22 17:49:48 +01:00
2025-09-23 17:06:35 +02:00
2025-09-23 17:06:35 +02:00
2021-05-14 22:20:20 +02:00
2023-06-11 12:52:21 +02:00

MidnightLib

Lightweight Common Library for Minecraft mods.
Provides a config api with a nice GUI and common utilities, all in a very small file.

Description
Lightweight annotation-based config library for Minecraft Java mods. Compatible with Fabric, Quilt and NeoForge!
Readme MIT 1.4 MiB
Languages
Java 100%