跳到正文

Boring Default Game Rules

通过便捷方法修改默认游戏规则值的模组。

收藏

截图

介绍

介绍由机器翻译自 CurseForge 原页面,仅供参考。

Boring Default Game Rules

Banner for the Boring Default Game Rules mod

Boring Default Game Rules 是一个简单的模组,可用于更改所有游戏规则的默认值。这个模组旨在提供最便捷的游戏规则默认值编辑方式:不仅提供配置界面,还能生成 JSON Schema,方便你在游戏外轻松配置!

属于 Boring 系列。别忘了看看 Boring Backgrounds 和 Damage Incorporated!

依赖项

从 Minecraft 1.20.6 起,这个模组需要 Fabric API,以及 Fabric Loader 或 Quilt Loader。

这个模组还可选支持 模组菜单。

配置

使用这个模组,你可以通过两种主要方式编辑游戏规则的默认值。

编辑默认值的主要方式是打开“编辑默认游戏规则”界面。你可以通过原版“游戏规则”界面底部的按钮,或通过 模组菜单中的模组配置按钮打开该界面。在此界面中,你可以像在普通世界中更改游戏规则值一样修改默认值;如有需要,还可以点击列表底部的“重置默认值”按钮。

不过,如果你不在游戏中,但至少启动过游戏一次,也不用担心!配置文件位于 .minecraft/config/boring_default_game_rules/config.json;如果你使用兼容 JSON Schema 的编辑器(如果没有,推荐使用 Visual Studio Code),它就能利用自动生成的 JSON Schema,提升你的编辑体验!生成的 JSON Schema 不仅包含配置文件本身的说明,还会为游戏中检测到的所有游戏规则提供建议。

以下是带注释的格式(如果你处于离线状态,JSON Schema 中也包含有关选项的信息):

{
    // The file path of this mod's JSON schema. Don't worry about changing this value!
    "$schema": "config.schema.json",
    // A map of game rules and the new default value that will override the original
    "default_game_rules": {
        // This will set "keepInventory" to true as the default value
        // Autocompletions are provided by the JSON schema, so don't worry about having to memorize all game rule options
        "keepInventory": true
    },
    // Defines if a JSON schema should be generated or not. Only disable this if you know what you are doing
    "generate_json_schema": true
}

常见问题

Boring Default Game Rules 支持哪些 Minecraft 版本?

Boring Default Game Rules 支持 Minecraft Java 版 1.17–1.21.8,共 22 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

Boring Default Game Rules 怎么安装?

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

评论

登录后评论和评分

EnnuiLangeweile 的其他作品

查看全部 →