promotional bannermobile promotional banner

Craft Config Lib

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

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 https://modrinth.com/mod/craft-config/versions

The Craft Config Lib Team

Forgeborn tier frameprofile avatar
Owner
Forgeborn tier icon
  • 8
    Followers
  • 14
    Projects
  • 367.7K
    Downloads

More from tricubeView all