
reconfigure
Configuration library for my mods
3K загрузок5 подписчиковMITfabric
Обновлён 17 июня 2026 г. · опубликован 11 марта 2025 г.
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();
}
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 0.3.2 | Бета | 26.2 | fabric | 17 июня 2026 г. | .jar (219 КБ) |
| 0.3.1 | Бета | 26.1, 26.1.1, 26.1.2 | fabric | 28 марта 2026 г. | .jar (219 КБ) |
| 0.3.0 | Бета | 1.21.11 | fabric | 9 декабря 2025 г. | .jar (216 КБ) |
| 0.2.0 | Бета | 1.21.10 | fabric | 23 ноября 2025 г. | .jar (214 КБ) |
| 0.1.17 | Бета | 1.21.9 | fabric | 3 октября 2025 г. | .jar (214 КБ) |
| 0.1.16 | Бета | 1.21.9 | fabric | 2 октября 2025 г. | .jar (214 КБ) |
| 0.1.15 | Бета | 1.21.8 | fabric | 25 сентября 2025 г. | .jar (215 КБ) |
| 0.1.14 | Бета | 1.21.8 | fabric | 1 сентября 2025 г. | .jar (212 КБ) |
| 0.1.13 | Бета | 1.21.8 | fabric | 22 июля 2025 г. | .jar (212 КБ) |
| 0.1.12 | Бета | 1.21.8 | fabric | 22 июля 2025 г. | .jar (211 КБ) |
| 0.1.11 | Бета | 1.21.8 | fabric | 22 июля 2025 г. | .jar (211 КБ) |
| 0.1.10 | Бета | 1.21.7 | fabric | 4 июля 2025 г. | .jar (211 КБ) |
| 0.1.9 | Бета | 1.21.6 | fabric | 28 июня 2025 г. | .jar (211 КБ) |
| 0.1.8 | Бета | 1.21.6 | fabric | 20 июня 2025 г. | .jar (211 КБ) |
| 0.1.7 | Бета | 1.21.5 | fabric | 24 апреля 2025 г. | .jar (207 КБ) |
Показаны последние 15 из 22 версий. Все версии — на Modrinth.
Ченджлог
0.3.2Бета26.2 · 17 июня 2026 г.
- Updated to Minecraft 26.2
0.3.1Бета26.1, 26.1.1, 26.1.2 · 28 марта 2026 г.
- Updated to Minecraft 26.1
0.3.0Бета1.21.11 · 9 декабря 2025 г.
- 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
0.2.0Бета1.21.10 · 23 ноября 2025 г.
- Fixed null pointer exception when hovering headlines #2
- Fixed headline text not being centered when overflowing
- Migrated to mojang mappings
0.1.17Бета1.21.9 · 3 октября 2025 г.
- Fixed config title not being centered when there is only a single tab
0.1.16Бета1.21.9 · 2 октября 2025 г.
- 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
0.1.15Бета1.21.8 · 25 сентября 2025 г.
- Fixed crash when providing no placeholder to an edit box (#1)
0.1.14Бета1.21.8 · 1 сентября 2025 г.
- Removed mixin debug export in EditBoxWidgetAccessor
Полная история изменений — на Modrinth.
Комментарии
Загружаем…

