A simple library for saving and reading config for items in MC Forge with use of JSON.
What is ItemFig
A simple library for saving and reading config for items in Minecraft Forge using JSON.
The library, though written from scratch by CrazedAerialCable, is based on the original idea seen in Weaponworks 1.3. This idea was originally provided and prototyped by the modder Lyof. You're encouraged to explore his mods like Sortilege and Ends Phantasm!
Current features:
Reading and saving config values from and to a config file in JSON format.
Auto-recreating config file from set default values if the config is deleted.
Auto-recreating values for entire missing items in config file (i.e., when a new item is added).
Auto-recreating values for items' fields values (i.e., when you want to reset damage value of a weapon).
Changing the location and name of the config file (extension can only be JSON though).
Current limitations
What I am aware of and can think of and can do something about in the future:
For now, everything is put in one config file.
You cannot change the path to the config file itself. It will just land in the config folder.