
Better Config
Extension to Forge's annotation-based config system.
- Загрузки
- 32
- Подписчики
- 0
- Обновлён
- 31 июля 2026 г.
- Лицензия
- MIT
Опубликован 27 июля 2026 г.
Better Config
BetterConfig extends Forge's annotation-based config system to support nested arrays, collections, arrays/collections/maps of objects, and much more.
Usage
BetterConfig is hosted on Maven Central. To get started, add the following to your dependencies in your build script:
implementation fg.deobf('io.github.meldexun:betterconfig:1.12.2-1.0.1')
To then migrate from Forge to BetterConfig, you only have to
- annotate your config class with
@BetterConfiginstead of@Configand - replace all invocations of
ConfigManager.sync(String, Type)withBetterConfigManager.sync(String).
That's it! Now your config will be processed by BetterConfig.
Features
For more information, check out the wiki at https://github.com/Meldexun/BetterConfig/blob/main/README.md
Mod Features
Features for players installing the mod
- In-game GUI editing of mods using
net.minecraftforge.common.config.Configuration. These configs would normally not be editable in-game because they don't use Forge's annotation-based config system. Depending on how these mods use their config, you might have to restart your game to see an effect.
Ченджлог
1.12.2-1.0.1Релиз1.12.2 · 31 июля 2026 г.
- Remove dependencies of maven releases
1.12.2-1.0.0Релиз1.12.2 · 27 июля 2026 г.
- Fix changes to non-map categories not being saved
- Fix several crashes when writing deprecated entries
- Add support for Vec3i, Vec3d, BlockPos, Vector2f, Vector3f, and Vector4f
- Make config file writing atomic
- Add missing markers to also load as a regular mod
- Preparations for full release
Комментарии
Загружаем…