MidnightLib is a small library that gives mods a shared config system and a few common helpers. Mod authors may bundle it inside their own jars, and you may meet it as a requirement.
Every feature can be toggled in its own config screen
Can be bundled by authors through Jar-in-Jar
Has a wiki to get started
How to install
Press Install on this page, or in the Modhold app.
Add it when a mod you use needs it.
Fabric API goes alongside.
The author’s description by Motschen, shared word for wordRead it
MidnightLib is a lightweight library that provides common utils and a configuration system for mods.
Mod developers are allowed and encouraged to bundle it with their mods via Jar-in-Jar.Every feature can be toggled in the library's own config screen/file.
Visit the new Wiki to get started now.
Install
Put the .jar file in your Minecraft mods folder (with Fabric Loader or NeoForge installed for that Minecraft version), then start the game.
The mod's original page, where it says what the mod is:
This mod is released under an open licence, MIT, which lets anyone share it as long as its authors are credited and the licence comes with it. Its source code: github.com/TeamMidnightDust/MidnightLib · The licence
Captured 20 Nov 2026 from the original page. The author can claim this page, or have it taken down, at any time.