COAL – Cloth Config adapter
Renders every COAL-using mod's settings screen in Cloth Config.
介绍
Renders every COAL-using mod’s settings screen
in Cloth Config, plus JSON
persistence, load-time validation, and versioned migrations.
For players
Install all three side-by-side in your mods/ folder:
- COAL — the abstraction layer that COAL-consuming mods depend on.
- coal-cloth-adapter — this mod.
- Cloth Config — the GUI library that actually renders the screens.
Any mod that consumes COAL will use Cloth Config for its settings screen once
these three are installed together.
Cloth vs. YACL
Cloth Config’s sub-category widget recurses cleanly, so this adapter
preserves deep-nested config trees end-to-end. YACL’s equivalent flattens
after two levels. If your mods declare heavily-nested configs and you want
every level preserved in the GUI, pick this adapter.
Don’t install alongside coal-yacl-adapter
Only one COAL adapter should be installed at a time. If you’d rather use
YACL, install coal-yacl-adapter
instead of this one.
For mod authors
You don’t compile against this mod. Depend on coal-api +
coal-api-gui-<loader> at compile time; your users install whichever adapter
they prefer at runtime. See the docs for
the walkthrough.
Feature coverage
Advertises MIGRATION, VALIDATION, and GUI_DELEGATION. Does not advertise
SYNC, FILE_WATCH, JSON5, or CUSTOM_FORMATS — see the module README on
GitHub for the full annotation-to-widget mapping and known limitations.
Links
常见问题
COAL – Cloth Config adapter 支持哪些 Minecraft 版本?
COAL – Cloth Config adapter 支持 Minecraft Java 版 1.21.8,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。
COAL – Cloth Config adapter 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
oliveryasuna 的其他作品
查看全部 →Clear Sky
新增真正的晴朗天气类型(没有云朵)。
Improved Weather Command (IWC)
Puts the vanilla weather setters under /weather set and adds a /weather get to check whether it's clear, raining, or thundering. Fabric and NeoForge.
Rubric
Multi-loader Minecraft mod configuration library.
Config Object Abstraction Library (COAL)
One config UI for every COAL-consuming mod. Install once, all your mod settings share the same screen.
评论
登录后评论和评分