Description
Craft Config Lib
A client-sided configuration library with preset support, made for my mods. Feel free to use it in your mod if it fits your needs.
Features
- Config Presets
- Allow switching between multiple different configs quickly
- Auto apply presets on specific world/servers
- Built-in keybind support
- Automatically create options (boolean only) that can be binded to a key
- Auto config registering
- Registers the config screens automatically, without the need of manually registering the configs.
Showcase
Main config screen

Presets editing

Color Picker

For developers
Setup
Download a version of the mod that is suitable for your version. Add this to dependencies
modApi files("<your file path>")
<your file path> should be replaced to where your downloaded mod is.
Note: use double \\
instead of \ in your path to avoid formatting.
Example:
modApi files("C:\\Users\\UserName\\Documents\\craft_config-1.0.0+1.21.11-fabric.jar")


