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();
} How to Install reconfigure (Mod)
reconfigure by replaceitem is verified for Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9 (latest release: 0.3.3, file size: 215 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded reconfigure file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
|
B
0.3.3
|
2mo ago | 1 | |||
|
B
0.3.2
|
5mo ago | 1 | |||
|
B
0.3.1
|
8mo ago | 1 | |||
|
B
0.3.0
|
last yr. | 1 | |||
|
B
0.2.0
|
last yr. | 1 | |||
|
B
0.1.17
|
last yr. | 1 | |||
|
B
0.1.16
|
last yr. | 1 | |||
|
B
0.1.15
|
last yr. | 1 | |||
|
B
0.1.14
|
last yr. | 1 | |||
|
B
0.1.13
|
last yr. | 1 | |||
|
B
0.1.12
|
last yr. | 1 | |||
|
B
0.1.11
|
last yr. | 1 | |||
|
B
0.1.10
|
last yr. | 1 | |||
|
B
0.1.9
|
last yr. | 1 | |||
|
B
0.1.8
|
last yr. | 1 | |||
|
B
0.1.7
|
last yr. | 1 | |||
|
B
0.1.6
|
last yr. | 1 | |||
|
B
0.1.5
|
last yr. | 1 | |||
|
B
0.1.4
|
last yr. | 1 | |||
|
B
0.1.3
|
last yr. | 1 | |||
|
B
0.1.2
|
last yr. | 1 | |||
|
B
0.1.1
|
last yr. | 1 | |||
|
B
0.1.0
|
last yr. | 1 |
- Updated to Minecraft 26.3
- Updated to Minecraft 26.2
- Updated to Minecraft 26.1
- Updated to Minecraft 1.21.11
- Used JSpecify annotations
- The save button is now disabled and shows a tooltip if there are invalid config options
- The chip list input is now cleared when adding a new entry
- The chip list entry delete button now has a pointer cursor
- Fixed null pointer exception when hovering headlines [#2](https://github.com/replaceitem/reconfigure/issues/2)
- Fixed headline text not being centered when overflowing
- Migrated to mojang mappings
- Fixed config title not being centered when there is only a single tab
- Updated to Minecraft 1.21.9/1.21.10
- Headline and property names are now cut off properly when too long
- When headline or property names are overflowing, they are shown in full as a tooltip
- Improved keyboard navigation order so the widget always comes before the reset button
- Removed
@DeprecatedfromConfig.createScreen
- Fixed crash when providing no placeholder to an edit box ([#1](https://github.com/replaceitem/reconfigure/issues/1))
- Removed mixin debug export in EditBoxWidgetAccessor
- Added
Config#scheduleSavemethod
- Added
saveIfDirtymethod to config
- Allow minecraft versions >=1.21.7
- Updated to MC 1.21.7
- Added
PropertyBuilder.buildWithoutWidget()
- Updated to Minecraft 1.21.6