--- import DefaultLayout from '../layouts/DefaultLayout.astro' import Feature from '../components/Feature.astro' import CallToAction from '../components/CallToAction.astro' import ContentMedia from '../components/ContentMedia.astro' ---

MidnightLib

Implement configurations easier than ever before!

Just create Java fields, annotate them with @Entry, maybe add some more additional options, and boom!
This example can be found here, and helps you get started (almost) faster than speed of light!

User-friendly config screens

Configuration screens are automatically created from config classes.
Here's one generated from a class similar to the one from above!

Features

Size of the .jar is currently just 50KB.
Everything essential for the config (including GUI) is only 30KB!
Bundle MidnightLib with your mod with ease. Gone are the days of installing dependencies manually! Automatic generation of config screens (and server-side commands) makes adding config options a breeze! Supports booleans, numbers (int, float, double), strings, enums, hex colors and string lists! Organize your config screen using comments, sliders, colors and tabs. MidnightLib is compatible with Quilt, Fabric and (Neo-)Forge, making it ideal for multiplatform mods!