跳到正文

Config Object Abstraction Library (COAL)

作者:oliveryasuna

One config UI for every COAL-consuming mod. Install once, all your mod settings share the same screen.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Config Options Abstraction Layer (COAL) is a stable API and
provider SPI for Minecraft mod configuration. It plays the same role for
configuration that SLF4J plays for logging: mods depend only on coal-api;
the actual reading, writing, validating, migrating, and GUI-rendering of
configuration is delegated to whichever ConfigProvider is on the classpath
at runtime.

For players

Install this plus one adapter for any mod that uses COAL to work with a
settings screen:

Without an adapter, COAL still lets mods start — settings just fall back to
their defaults and you’ll see a one-time notice.

For mod authors

Depend on coal-api and let your users pick the GUI they want. See the
docs for getting-started, guides, and the
full specification.

Links

常见问题

Config Object Abstraction Library (COAL) 支持哪些 Minecraft 版本?

Config Object Abstraction Library (COAL) 支持 Minecraft Java 版 1.21.8,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Config Object Abstraction Library (COAL) 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

oliveryasuna 的其他作品

查看全部 →