跳到正文

Fern Config

作者:Lemonnik

Multi format config library with a lot of features

收藏

截图

介绍

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

Fern Config

fabric
forge\
quilt
neoforge


Fern config is a light and simple config library that allows developers to easily create configs and store them in different formats

Supported formats:

  • JSON5
  • TOML

Things that are done in the latest version:

  • JSON5 save format
  • TOML save format
  • Boolean
  • Enum
  • Float
  • Double
  • Integer
  • String
  • Float arrays
  • Color utils
  • Mask

What’s “Mask”?

Mask is basically a selector for blocks/items/entities, that can work as a whitelist or blacklist\

For developers

Maven:

maven {
    name "lemonnik's maven"
    url "https://maven.lemonnik.dev/releases"
}

Implementation in 26.1+

implementation "dev.lemonnik:fern_config:0.1.0+mc26.1.2-fabric"

For older versions:

Fabric loom:

modImplementation "dev.lemonnik:fern_config:0.1.0+mc1.21.1-fabric"

Forge gradle:

implementation fg.deof("dev.lemonnik:fern_config:0.1.0+mc1.21.1-forge")

Available versions can be found on maven

Other examples are available in gallery, proper wiki will be crated later

常见问题

Fern Config 支持哪些 Minecraft 版本?

Fern Config 支持 Minecraft Java 版 1.18–26.2,共 29 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Fern Config 怎么安装?

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

评论

登录后评论和评分

Lemonnik 的其他作品

查看全部 →