ConfigLib148
by kyh148
ConfigLib148 gives other Fabric mods a small library for defining and saving their configuration values.
What it does
Mods built on ConfigLib148 declare their settings as typed values and let the library read and write them to disk. The supported value types are Boolean, Integer, Long, Float, Double, String and Enum. The library runs on client and server, so a dedicated server and each connected player need it when a dependent mod is installed. It requires Fabric and covers the 1.19 – 1.20.1 range, with 1.2.0 for 1.20.1 as the latest file.
Key features
Typed config values
Settings can be declared as Boolean, Integer, Long, Float, Double, String or Enum values.
Screen generation
The source recommends YetAnotherConfigLib for generating a config screen from these definitions.
Example code
The project includes example usage in its src/test directory for developers to follow.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 4 mods
Questions
Does ArmorHUD need ConfigLib148?
In the catalog
ConfigLib148 is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from kyh148
Similar mods
What the author says
I made a crappy config library for myself. I do not recommend using this for your own mods. If you do use it, I recommend YetAnotherConfigLib for config screen generation. Examples can be found in src/test. Supported data types: Boolean, Integer, Long, Float, Double, String, Enum
Official listing
- Modrinth page
- modrinth.com/mod/configlib148
- Owner
- kyh148
- Published
- 2022-11-17
- Updated on Modrinth
- 2022-11-27
- Facts verified
- 2026-10-15
