ModsFinder

MidnightLib

by Motschen

MidnightLib is a configuration library for mods, providing a lightweight config system that other mods can build on.

FabricForgeNeoForgeQuiltClient or server, optionalMIT LicenseOpen source1.17 – 26.3

What it does

Mods that depend on MidnightLib use it to read and write their settings through one shared system instead of each shipping its own. Installing it is needed only when another mod asks for it. Fabric API is required, and the library runs on the client, the server, or both, so either side can carry it while neither strictly needs it. Files cover Fabric, Forge, NeoForge and Quilt across 34 game versions 1.17 – 26.3, released under the MIT License as open source.

Key features

  1. Shared configuration system

    Dependent mods register their options with the library, which handles loading and saving them.

  2. Lightweight design

    The library stays small, so it adds little overhead to the mods that rely on it.

  3. Broad version coverage

    Builds exist for Fabric, Forge, NeoForge and Quilt, with snapshot builds published alongside releases.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.31.10.0+26.3-fabricNot available1.10.0+26.3-neoforge1.10.0+26.3-fabric
26.21.10.0+26.2-fabricNot available1.10.0+26.2-neoforge1.10.0+26.2-fabric
26.1.21.10.0+26.1-fabricNot available1.10.0+26.1-neoforge1.10.0+26.1-fabric
26.1.11.10.0+26.1-fabricNot available1.10.0+26.1-neoforge1.10.0+26.1-fabric
26.11.10.0+26.1-fabricNot available1.10.0+26.1-neoforge1.10.0+26.1-fabric
1.21.x12 of 12 versions with builds
1.21.111.10.0+1.21.11-fabricNot available1.10.0+1.21.11-neoforge1.10.0+1.21.11-fabric
1.21.101.10.0+1.21.10-fabricNot available1.10.0+1.21.10-neoforge1.10.0+1.21.10-fabric
1.21.91.10.0+1.21.10-fabricNot available1.10.0+1.21.10-neoforge1.10.0+1.21.10-fabric
1.21.81.10.0+1.21.8-fabricNot available1.10.0+1.21.8-neoforge1.10.0+1.21.8-fabric
1.21.71.10.0+1.21.8-fabricNot available1.10.0+1.21.8-neoforge1.10.0+1.21.8-fabric
1.21.61.10.0+1.21.8-fabricNot available1.10.0+1.21.8-neoforge1.10.0+1.21.8-fabric
1.21.51.10.0+1.21.5-fabricNot available1.10.0+1.21.5-neoforge1.10.0+1.21.5-fabric
1.21.41.10.0+1.21.5-fabricNot available1.10.0+1.21.5-neoforge1.10.0+1.21.5-fabric
1.21.31.6.4-fabricNot available1.6.4-neoforge1.6.4-fabric
1.21.21.6.4-fabricNot available1.6.4-neoforge1.6.4-fabric
1.21.11.10.0+1.21.1-fabricNot available1.10.0+1.21.1-neoforge1.10.0+1.21.1-fabric
1.211.10.0+1.21.1-fabricNot available1.10.0+1.21.1-neoforge1.10.0+1.21.1-fabric
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Required by 151 mods

How it compares

Full comparison

Kozhin's Lib is a Forge-only library for 1.20.1, released under All rights reserved and not open source. SugarLib is an open source MIT-licensed library for Fabric and NeoForge on 1.21.1, with the client or server optional. CroakLib is open source under the Apache License 2.0 and covers Fabric, Forge and Quilt for 1.20 – 1.20.6.

ModLoadersGame versionsEnvironmentUpdated
MidnightLibFabric, Forge, NeoForge and Quilt1.17 – 26.3Client or server, optional2026-10-14
Kozhin's LibForge1.20.1Client and server2026-04-10
SugarLibFabric and NeoForge1.21.1Client or server, optional2024-11-30
CroakLibFabric, Forge and Quilt1.20 – 1.20.6Client and server2025-11-04

Questions

Does MidnightLib need Fabric API?

Yes. Fabric API is a required dependency on every loader the library supports, so it must be installed alongside MidnightLib.

In the catalog

MidnightLib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.

More from Motschen

All projects

Similar mods

What the author says

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.
Motschen, on the Modrinth page

Official listing

Owner
Motschen
Published
2021-06-01
Updated on Modrinth
2026-10-14
Facts verified
2026-10-15

Tags