All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Boring Default Game Rules

Boring Default Game Rules

by Ennui • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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
}

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x
Fabric Quilt
last yr. 1
1.21.x
Fabric Quilt
last yr. 1
1.21.x 1.20.6
Fabric Quilt
last yr. 1
1.21.x 1.20.6
Fabric Quilt
last yr. 1
1.21.x 1.20.x
Fabric Quilt
last yr. 1
1.20.x
Quilt
last yr. 1
1.20.x
Quilt
last yr. 1
1.19.4
Quilt
last yr. 1
1.19.2
Quilt
last yr. 1
1.19.4
Quilt
last yr. 1
1.19.3
Quilt
last yr. 1
1.19.2
Quilt
last yr. 1
1.19.2
Quilt
last yr. 1
1.18.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
## Changelog

  • Rewritten the config system completely, eliminating a heavy library in the mod
  • The config file format hasn't been changed and therefore no compatibility has been broken
  • Fixed an issue where changes weren't applied to the default value of feature flag-gated game rules
  • Added a confirm prompt to the "Reset Defaults" button
  • Optimized the config system as well as the mod itself
  • Updated codebase to Minecraft 1.21.5
  • Minecraft 1.21.2-1.21.4 continues to be supported on this version
  • Fixed support for Minecraft 1.21.6
  • Removed Hissboom JAR processing
  • Paved way towards NeoForge support
## Changelog

  • Updated to Minecraft 1.21.3
  • Added support for game rules with feature flag dependencies
## Changelog

  • Removed GENERATE_ME and GENERATE_ME_MAYBE options from the $schema field since they aren't necessary anymore
## Changelog

  • Improved compatibility with IDEs by using a relative file path for $schema
  • As a side-effect, this allows modpack authors to not worry at all about leaking file paths
  • Improved file sizes with Hissboom
  • Updated dependencies
### Changelog

  • Ported to Minecraft 1.21
  • Activated Money Machine 2 (ported to Fabric)
  • Added support for vanilla's bounded int game rules
  • Can someone please kill Fabric's version?
### Changelog
  • Migrated everything to newer Quilt Config APIs
  • Added the actual game rule descriptions to the JSON Schema
  • Moved all non-FAPI accessors to access wideners
  • Attempted to fix client translations
  • Removed Machete
  • Removed mixin refmap
### Changelog

  • Updated to Minecraft 1.20
  • Activated Machete for small file size savings
### Changelog:

  • Set the default value of $schema on the config file to "" if the generate_new_schema option is set to false
  • Fixed potential trouble with double-type game rules
### Changelog:

### Changelog

  • Updated to Minecraft 1.19.4
  • Fixed critical issues involving the config system and attempts to change number-based game rules
  • Moved the mod config manager's initialization points to the client and server mod initializers, fixing issues with servers and fixing potential issues with clients
  • Updated the English and Brazilian Portuguese text in order to be more concise
  • Cleaned up the code
### Changelog

  • Updated to Minecraft 1.19.3
  • Fixed the "Reset to Default" button resetting the page scroll
  • Cleaned up the code
### Changelog

  • Fixed a crash caused by mixin issues on using this mod on servers
### Changelog

  • Updated to Minecraft 1.19.2
  • Switched to the [Quilt toolchain](https://quiltmc.org/)
  • Overhauled the config system
  • Added a proper config screen for this mod, allowing for much easier configuration
  • This screen is accessible through not only Mod Menu, but also Vanilla's Game Rules screen
  • Added an easy option to reset to the original default
  • Migrated the system to Quilt Config
  • The config file is now located at .minecraft/config/boring_default_game_rules/config.json
  • Removed config hot-reloading. It is no longer necessary
  • Added the ability to regenerate the path to the schema by setting "$schema" to "GENERATE_ME"
  • Improved the experience of disabling the automatic JSON Schema generation
  • Migrated to the io.github.ennuil.boring_default_game_rules package
  • Added a 64x variant of the icon in order to prevent it from being butchered on Mod Menu
### Changelog:

Updated to Minecraft 1.18.1

Did microscopic changes around the code (hence 0.1.2, not 0.1.1)
Changelog:


Fixed a crash that happened due to using a client event on a server

Switched the method of getting translations to one that worked outside the client

Added missing information to fabric.mod.json
Initial release. While it's not a 1.0.0 release, it should be stable enough for daily use
Boring Default Game Rules Icon
Download Boring Default Game Rules
Select game version
Select platform