跳到正文

Boring Default Game Rules

作者:Up, Ennui

A mod that allows to change the default game rule values through convenient methods.

收藏

截图

介绍

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

Boring Default Game Rules

Banner for the Boring Default Game Rules mod

Boring Default Game Rules is a simple mod that allows for changing the default values of all games rules. This mod aims to be the most convenient way to edit the default values of a game rule by not only offering a config screen, but also easy off-game configuration by generating a JSON Schema!

Part of the Boring series. Don’t forget to check out Boring Backgrounds and Damage Incorporated!

Dependencies

As of Minecraft 1.20.6+, this mod requires Fabric API and either Fabric Loader or Quilt Loader.

This mod also has optional support with Mod Menu.

Configuration

With this mod, there are two main methods in which you can edit the default game rules.

The main way to edit the defaults is through the “Edit Default Game Rules” screen, which can be opened either thanks to a button at the bottom of Vanilla’s “Game Rules” screen or through the mod’s config button on Mod Menu. On this screen, you can change the defaults like you would change the game rule values on a regular world, with a “Reset Defaults” button being available at the bottom of the list if needed.

However, If you aren’t in-game and have at least started it once, don’t worry! There is a config file is located at .minecraft/config/boring_default_game_rules/config.json, and if you have a JSON Schema-compatible editor (Visual Studio Code is recommended if you have none), it will make use of the automatically-generated JSON Schema in order to enhance your editing experience! The generated JSON Schema contains not only documentation on the config itself, but also provides suggestions for all game rules detected on the game.

Below here is the commented format (if you are offline, the JSON Schema also contains information about the options):

{
    // 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/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Up 的其他作品

查看全部 →