
32
0
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.
Часто задаваемые вопросы
Совместимость
Зависимости
Ссылки
Создатели
Детали
Лицензия:
Опубликован:3 недели назад
Обновлён:3 недели назад
