跳到正文

Simple Config API [Discontinued]

作者:Morthen

Simple Config API for my Mods.

收藏

介绍

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

Simple Config API

A Simple Config API for Fabric, Quilt and Neo/-Forge which is based on the NightConfig Library.
It is downloadable on Curseforge and Modrinth.

Features

  • Save Integer, Double String and Boolean Values
  • save them in Categories
  • set comments for Categories or Values
  • Values can be defined in range
  • Designed for Multi-Loader Projects, but can also be used for single Loader Projects.
  • Auto Correction of invalid or corrupt Config Entries

Planned

  • support more Datatypes

For Developers

Latest Version: 0.3.0

Available for:

  • Fabric 1.20 -> 1.20.4
  • Forge 1.20 -> 1.20.4
  • NeoForge 1.20.1 -> 1.20.4
Adding Simple Config API to your project
    repositories {
        maven {
          name = "xStopho Mods"
          url = "https://raw.githubusercontent.com/Stein-N/resources/main/maven"
        }
    }
    dependencies {
        implementation "xstopho.simpleconfigapi:simpleconfigapi-common:<version>"
        implementation "xstopho.simpleconfigapi:simpleconfigapi-fabric:<version>"
        implementation "xstopho.simpleconfigapi:simpleconfigapi-forge:<version>"
        implementation "xstopho.simpleconfigapi:simpleconfigapi-neoforge:<version>"
    }

常见问题

Simple Config API [Discontinued] 支持哪些 Minecraft 版本?

Simple Config API [Discontinued] 支持 Minecraft Java 版 1.20–1.20.4,共 5 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Simple Config API [Discontinued] 怎么安装?

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

评论

登录后评论和评分

Morthen 的其他作品

查看全部 →