MaFgLib
MaFgLib is a Forge and NeoForge library port of the code base behind Masa's mods, used by other mods to handle configuration, key bindings and GUI code.
What it does
The library is a port of Masa's mod code base. It supplies a configuration system, a key binding system, support for building most GUI screens, and other shared components that other mods can call. A ModConfigScreenRegister is included to register configuration screens. Players add it to their own game, and a server needs no copy. Ten catalog mods require MaFgLib, among them Tweakerge, Forgematica, BoccHUD, DLC Manager and Rock'n Roller. The library is open source under the GNU Lesser General Public License v3.0 only and is published for Forge and NeoForge, covering 1.16.4 – 26.3.
Key features
Configuration options
Gathers configurable options from dependent mods into one shared system.
Key binding system
Provides a key binding system that dependent mods can register their keys with.
GUI support
Offers components for building most GUI code, plus a configuration screen register.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x11 of 11 versions with builds
1.20.x6 of 6 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
1.16.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 10 mods
How it compares
MaLiLib is the Fabric, Forge, LiteLoader, Ornithe and Rift original, covering 1.12 – 26.3 and also client-side only. Cloth Config API Forge is a Forge library for 1.21.5 – 26.2 that works on either side, and neither side needs it. Citadel (Unofficial Port) is a NeoForge client and server library for 1.21.1 only.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| MaFgLib | Forge and NeoForge | 1.16.4 – 26.3 | Client-side only | 2026-10-11 |
| MaLiLib | Fabric, Forge, Ornithe, Rift and LiteLoader | 1.12 – 26.3 | Client-side only | 2026-09-27 |
| Cloth Config API Forge | Forge | 1.21.5 – 26.2 | Client or server, optional | 2026-06-20 |
| Citadel (Unofficial Port) | NeoForge | 1.21.1 | Client and server | 2026-04-25 |
Questions
Does a mod that requires MaFgLib need it on the server?
In the catalog
MaFgLib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 8,071 mods support Minecraft 26.3.
More from ThinkingStudio
Similar mods
What the author says
This mod is a (Neo)Forge port of Masa's mod code base, which basically contains all configurable options, a key binding system, support for doing most GUI code and other useful components for other mods to use (A ModConfigScreenRegister has been added to this base to register the configuration screen). MaLiLib is…
Official listing
- Modrinth page
- modrinth.com/mod/mafglib
- Owner
- ThinkingStudio
- Published
- 2023-05-10
- Updated on Modrinth
- 2026-10-11
- Facts verified
- 2026-10-15
