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
Add to repositories
repositories {
maven {
url = "https://api.modrinth.com/maven"
}
}
Then in your dependencies include this
dependencies {
implementation("maven.modrinth:craft-config:<version_name>")
}
Replace <version_name> with the one that is suitable.
You can find the version names at https://modrinth.com/mod/craft-config/versions
Featured versions
See allProject members

ray227
Owner
Technical information
License
MIT
Client side
required
Server side
unsupported
Project ID
