
Craft Config Lib
A client-side configuration library that supports presets and built-in keybinds.
Оцените первым
7.2K
3
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.
NOTE: you should only use this for client sided mods.
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
!main
Presets editing
!preset
Color Picker
!color
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 /mod/craft-config/versions
Часто задаваемые вопросы
Совместимость
Зависимости
Ссылки
Создатели
Детали
Лицензия:
Опубликован:1 месяц назад
Обновлён:2 недели назад
