Craft Config Lib

A client-side configuration library that supports presets and built-in keybinds.

7

Craft Config Lib

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

- Auto config registering - Allow switching between multiple different configs quickly - Auto apply presets on specific world/servers - Auto config registering - 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

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") ```

ADS