Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_lg9jPUKf.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Better Config - 墨喵 Minecraft 资源
Better Config 图标

Better Config

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.12.2-1.1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/better-config
资源信息

Minecraft 版本: 1.12.2

平台: forge

标签: library

资源介绍

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 @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

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
KarmicPack 2

价格:0 墨喵币
下载量:0

查看详情
Angel Core

价格:0 墨喵币
下载量:0

查看详情
Simply PvP

价格:0 墨喵币
下载量:0

查看详情
Cat Splashes

价格:0 墨喵币
下载量:0

查看详情