ItemFig
ItemFig is a convenient library for working with item configuration files in Minecraft Forge, using JSON format for storing and reading data.
This library was completely reworked by developer CrazedAerialCable, but inspired by the original concept implemented in Weaponworks 1.3. The initial idea belongs to the talented modder Lyof, whose projects Sortilege and Ends Phantasm deserve special attention.
Main Features
- Reading and saving settings from configuration files in JSON format
- Automatic restoration of configuration file with default settings when deleted
- Automatic addition of values for new items missing in configuration
- Automatic restoration of item field values (for example, resetting weapon damage indicator)
- Ability to change the name of configuration file (extension remains json)
Limitations
Currently the library has the following limitations:
- All settings are stored in one configuration file
- The path to configuration file cannot be changed - it's always located in the config folder
Documentation is available on GitHub Wiki.