Fly's config lib
No reviews yet
Simplest JSON config lib to not repeat yourself :P
Provides a framework or library for other mods to use.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
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
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
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources