Fly's config lib
Modby flyinmyeye
Simplest JSON config lib to not repeat yourself :P
Type
Mod
CurseForge Downloads
2,027
CurseForge ID
Modrinth Downloads
2,601
Modrinth ID
Last Updated
Oct 24, 2026
Description
Fly's Config Lib
A shared configuration library for Fly's Minecraft mods providing JSON config management, registry helpers, and NBT pattern matching.
Features
- Load and save mod settings from a JSON file
- Automatically creates a default config file if none exists
- Detects when the config file is edited on disk and reloads it without restarting
- Backs up broken/corrupted config files with a timestamp before resetting to defaults
- Look up items, blocks, and entities by their in-game I
- Caches registry lookups so repeated lookups don't slow things down
- Match items by their NBT data (enchantments, custom names, written book authors, etc.)
- Partial NBT matching — only the tags you specify need to match, the rest are ignored
- Exact NBT matching — the item must have exactly the tags specified, nothing more
- List NBT matching — check if an item has at least one of the specified enchantments/tags
- Strict list matching — check if an item has all of the specified enchantments/tags
- Numeric NBT values match regardless of internal type
- Map config keys to values using either exact strings or regex patterns
- Extract parts of a matched string via capture groups and reuse them in the mapped value
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Simply Coffee
This mod adds Coffee to Minecraft!
Animal Garden - Yellow Mongoose
This mod adds the yellow mongoose, a small, agile carnivore of the savanna to the game.
Prometheus Exporter
Prometheus exporter for Minecraft.
Realistic Brewing Stand
Little logical fix (in render) of the brewing stand.
Soothing Campfires
Campfires give a small regeneration effect when cooking food.
Lost Skeleton
A mod about a new skeleton trader