截图
介绍
中文介绍正在准备中,下面暂时显示原文。
Config Manager
A serializer using GSON and load/save config files.
Use
- Gradle
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation "maven.modrinth:config-manager:${project.configmanager_version}"
}
- Java
import dev.felixagairu.configmanager.ConfigManager
public class Test() {
private static final String defaultConfigs ="{'key':'value'}";
private static final ConfigManager configManager = new ConfigManager("modid.json", defaultConfigs);
private static final JsonObject configs = configManager.loadConfig();
}
icon.png © 2025 by FelixAgairu is licensed under CC BY-NC-SA 4.0
常见问题
Tiny Config Manager Lib 支持哪些 Minecraft 版本?
Tiny Config Manager Lib 支持 Minecraft Java 版 1.16.5–26.1.2,共 33 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Tiny Config Manager Lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
FelixAgairu 的其他作品
查看全部 →
Saturative Overhaul
by FelixAgairu
Changes hunger and saturation system. Make food more useful, Make life harder. Learn more in description and github.改写了饥饿饱食度系统,让食物更有用,让生活更艰苦。在详见详情或Github。
3,604
5 个月前
Modrinth
Command on Interval
by FelixAgairu
A mod runs in-game command with customize configs. 一款可执行游戏内命令的模组,外加自定义设置
506
10 个月前
Modrinth
评论
登录后评论和评分