reconfigure
ModConfiguration library for my mods
Description
reconfigure
A config library for my mods
Design goals
- Uses the builder pattern so all options autocomplete. Just start with
Config.builder()and autocompletion will guide you through the whole process of creating a configuration - Designed to be used in the field initializers of a config class
- Does not use annotations for flexibility at runtime
Preview

Example definition
class DemoConfig {
public final Config CONFIG = Config.builder("reconfigure-test")
.serializer(Serializers.JSON)
.build();
public final ConfigTab DEMO_TAB = CONFIG.createTab("demo").build();
Void HEADLINE = DEMO_TAB.createHeadline("headline");
public final Property<String> STRING = DEMO_TAB.createStringProperty("string").defaultValue("Hello world")
.asTextField().placeholder("Enter something").build();
public final Property<Boolean> CHECKBOX = DEMO_TAB.createBooleanProperty("checkbox").defaultValue(true)
.asCheckbox().build();
public final Property<Boolean> TOGGLE_BUTTON = DEMO_TAB.createBooleanProperty("toggle_button")
.asToggleButton().build();
public final Property<Integer> SLIDER = DEMO_TAB.createIntegerProperty("slider").defaultValue(4).range(1,10)
.asSlider().build();
public final Property<DayOfWeek> CYCLE_BUTTON = DEMO_TAB
.createEnumProperty("cycle_button", DayOfWeek.class)
.defaultValue(DayOfWeek.MONDAY)
.asCyclingButton()
.build();
public final Property<Integer> COLOR = DEMO_TAB.createIntegerProperty("color").asColorPicker().build();
public final Property<String> EDIT_BOX = DEMO_TAB.createStringProperty("box").asEditBox().build();
public final Property<List<String>> CHIP_LIST = DEMO_TAB.createListProperty("chiplist")
.asChipList()
.build();
}
Compatibility
Mod Loaders
Fabric
Game Versions
1.21.4
1.21.5
1.21.6
1.21.7
1.21.8
1.21.9
1.21.10
1.21.11
26.1
26.1.1
+2 more
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Screenshots
Similar Mods
Spartan Armaments
Now you can enhance EVERYTHING...
Mod
43,250
91 this week
I Need Mangrove Swamp
Added Mangrove Swamp and 1.19x Features to 1.16.5.
Mod
43,246
150 this week
Boom!
Adds throwable bombs.
Mod
43,243
429 this week
JsMacros
javascript macromod for blockgame
Mod
43,241
394 this week
In Game Info XML Addon - Tough As Nails
Addon for InGame Info XML to add tags for Tough As Nails
Mod
43,237
32 this week
Extended Block Shapes - Blockus
The mod adds extende shapes for Blockus mod, based on Extende Block Shapes mod.
Mod
43,235
135 this week