ItemFig
ItemFig gives mod developers a JSON-based way to save, read and regenerate config values for items in one file.
What it does
Item values such as damage, durability and other fields can be read from and written to a config file in JSON format. When the file is deleted, it is recreated from the default values set in the code. If a new item is added to a mod, its entry is created in the existing config file automatically, so the file stays in step with the items that exist.
Entries for individual item fields can also be reset on their own. This covers cases such as restoring the damage value of a weapon without touching the rest of the file. Where the file sits and what it is called can be adjusted, though its extension must remain json. For now every item's settings go into a single file, and the file itself always lands in the config folder.
ItemFig is a library rather than a standalone feature, and it is published for Fabric, Forge and NeoForge. A server running it needs every connecting player to have it too. Files cover 1.19.2 – 1.20.4, and the license is All rights reserved, so the code is not open source. Weaponworks requires it.
Key features
JSON config values
Reads and saves item config values from and to a JSON file, so settings can be edited by hand.
Default regeneration
Recreates the config file from set default values if it is deleted, without a manual reset.
Missing item entries
Adds the values for an entire item to the config file when that item is new and has no entry yet.
Field-level reset
Restores the value of a single item field, such as a weapon's damage, without changing the other entries.
Custom file location
The config file's location and name can be changed, while its extension stays json.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Questions
Does Weaponworks need ItemFig installed?
Do players need ItemFig on their own clients?
Can the config file be moved to a different folder?
In the catalog
ItemFig is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.
More from Low-Orbit Studios
Similar mods
What the author says
The lib, while written from scratch by CrazedAerialCable, bases on the original idea seen in Weaponworks 1.3. The idea itself back then was provided and prototyped by the awesome modder Lyof. I kindly encourage you to check out his mods like Sortilege and Ends Phantasm! What I am aware of and can think of and can do…
Official listing
- Modrinth page
- modrinth.com/mod/itemfig
- Owner
- Low-Orbit Studios
- Published
- 2024-01-23
- Updated on Modrinth
- 2024-03-03
- Facts verified
- 2026-10-15
