Boring Default Game Rules

The Boring Default Game Rules modification provides a simple way to change the default values of game rules in Minecraft. This tool is designed for maximum configuration convenience - it offers not only an intuitive configuration screen directly in the game but also the ability to edit through JSON Schema outside of gameplay.
Compatibility Requirements
For operation with Minecraft versions 1.20.6 and above, Fabric API along with Fabric Loader or Quilt Loader are required. Additionally, integration with Mod Menu is available for convenient access to settings.
Configuration Methods
The modification offers two main methods for changing default game rule values. The primary method is using the "Edit Default Game Rules" screen, accessible through a button in the vanilla game rules interface or through the mod's configuration in Mod Menu. On this screen, you can modify values similarly to regular world settings, with an additional option to reset to original settings.
For editing outside the game, a configuration file is provided at the path .minecraft/config/boring_default_game_rules/config.json. When using an editor with JSON Schema support (Visual Studio Code is recommended), the automatically generated schema significantly simplifies the configuration process, providing documentation and suggestions for all available game rules.
Example of the configuration file structure with comments:
{
// Path to the mod's JSON schema. Not recommended to change this value!
"$schema": "config.schema.json",
// Map of game rules and new default values that will replace the original ones
"default_game_rules": {
// Sets "keepInventory" to true as the default value
// Autocompletion is provided by JSON schema, no need to memorize all options
"keepInventory": true
},
// Defines whether JSON schema should be generated. Disable only if you understand the consequences
"generate_json_schema": true
}