Fly's config lib
by FlyInMyEye
Fly's config lib is a shared JSON configuration library for Fly's Minecraft mods, with registry helpers and NBT pattern matching for other mods to build on.
What it does
The library loads and saves mod settings from JSON files. When a config file does not exist, it is created automatically with default values. Changes made to the file on disk are reloaded without restarting the game, and a broken or corrupted config is backed up with a timestamp before the defaults are restored.
Other mods can look up items, blocks and entities in-game through its registry helpers. Lookups are cached, so repeated searches do not slow things down. Its NBT pattern matching compares item data such as enchantments, custom names and written book authors, and partial matching only checks the tags that a pattern specifies.
The library is published for Fabric, Forge and NeoForge across 18 release versions, 1.20 – 1.21.11. A server running it needs every connecting player to have it too. The code is under the MIT License and is not open source. The mod is required by Adrenaline.
Key features
Simplest JSON config
Settings are stored as JSON, and the library handles loading and saving so a mod does not need to repeat that code.
Automatic default config
A default config file is generated the first time a mod asks for one, so no manual file creation is needed.
Live reload from disk
Edits made to a config file on disk are picked up without restarting the game.
Corrupted config backups
A broken config file is copied with a timestamp before defaults are written, so the old settings can be recovered.
In-game registry lookups
Items, blocks and entities can be looked up by name, and the results are cached for repeated use.
NBT pattern matching
Items can be matched on NBT data like enchantments, custom names and book authors, with only the tags a pattern lists being compared.
Gallery
Compatibility
Latest build for each game version and loader.
1.21.x11 of 11 versions with builds
1.20.x7 of 7 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
How it compares
Generic Registry is a Fabric-only library released under the GNU General Public License v3.0 or later and open source, with files for 1.7.2 – 26.1.2. Its use on either side is optional, so a client or a server can run it while neither needs it. Stonecutter Recipe Tags targets Fabric, Forge and Quilt for 1.16.3 – 1.19.3, is client and server, and is open source under the MIT License. Fly's config lib covers 1.20 – 1.21.11 on Fabric, Forge and NeoForge, and is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Fly's config lib | Fabric, Forge and NeoForge | 1.20 – 1.21.11 | Client and server | 2026-08-05 |
| Generic Registry | Fabric | 1.7.2 – 26.1.2 | Client or server, optional | 2026-05-21 |
| Stonecutter Recipe Tags | Fabric, Forge and Quilt | 1.16.3 – 1.19.3 | Client and server | 2023-01-11 |
Questions
Does Adrenaline need Fly's config lib?
Does Fly's config lib have to be installed on both sides?
Which loaders does Fly's config lib support?
In the catalog
Fly's config lib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from FlyInMyEye
Similar mods
What the author says
A shared configuration library for Fly's Minecraft mods providing JSON config management, registry helpers, and NBT pattern matching.
Official listing
- Modrinth page
- modrinth.com/mod/flys-config-lib
- Owner
- FlyInMyEye
- Published
- 2026-01-20
- Updated on Modrinth
- 2026-08-05
- Facts verified
- 2026-10-15
