promotional bannermobile promotional banner

Better Config

Extension to Forge's annotation-based config system.
meldexun | Better Config
Create a server, get 25% off your first monthaffiliate logo
Create Server
affiliate banner image

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.3.0')

To then migrate from Forge to BetterConfig, you only have to

  • annotate your config class with @BetterConfig instead of @Config and
  • replace all invocations of ConfigManager.sync(String, Type) with BetterConfigManager.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.

discord ko-fi

Better Config Team

profile avatar
  • 55
    Followers
  • 17
    Projects
  • 90.0M
    Downloads

More from meldexunView all