典范

典范

轻量且易于使用的配置库。

基础库


轻量且易于使用的配置库。用于 Deeper and Darker 和 Golems of All Types。由 Kyanite Mods 用 💖 制作

使用 Paragon 的优势:

  • 轻量且模块化,Paragon 本身只是一个供其他模组使用的配置库。它不添加任何游戏内内容(例如菜单、GUI 等)
  • 超级易于使用和设置
  • 现代且简单

示例用法

安装

最新版本:fabric-3.0.2-1.20x 和 forge-3.0.2-1.20x

仓库(添加到 repositories)

maven {
    name = "Modrinth"
    url = "https://api.modrinth.com/maven"
    content {
        includeGroup "maven.modrinth"
    }
}

Fabric(如果你不想将 Paragon 打包进你的 jar 中,请移除 include)

include modImplementation("maven.modrinth:paragon:fabric-version")

Forge

implementation fg.deobf('maven.modrinth:paragon:forge-version')

如果使用 Architectury,请在 common build.gradle 中使用 Fabric 实现。