Better Config
BetterConfig 扩展了 Forge 基于注解的配置系统,以支持嵌套数组、集合、对象数组/集合/映射等更多功能。
使用方法
BetterConfig 托管在 Maven Central 上。要开始使用,请在构建脚本的依赖项中添加以下内容:
implementation fg.deobf('io.github.meldexun:betterconfig:1.12.2-1.3.0')
要从 Forge 迁移到 BetterConfig,你只需要:
- 将配置类的
@Config注解替换为@BetterConfig - 将所有对
ConfigManager.sync(String, Type)的调用替换为BetterConfigManager.sync(String)。
就这样!现在你的配置将由 BetterConfig 处理。
特性
更多信息请查看 wiki:
模组特性
安装该模组的玩家可获得的功能
- 使用
net.minecraftforge.common.config.Configuration在游戏中编辑其他模组的配置文件。这些配置通常无法在游戏内直接编辑,因为它们未使用 Forge 的基于注解的配置系统。 根据这些模组如何使用其配置,你可能需要重启游戏才能看到效果。
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
@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
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.
下载 Better Config
下载 Better Config
下载 Better Config
下载 Better Config
下载 Better Config
下载 Better Config
- 修复过早加载 Minecraft 类的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧