
Preferred Gamerules
A lightweight mod for customizing the default values of gamerules, i.e the values that are pre-selected when creating a new world.
Preferences are saved in .minecraft/config/preferred-gamerules.properties.
Each gamerule name is prefixed with gamerule..
Example for MC 1.21.11:
gamerule.minecraft:fire_damage=false
gamerule.minecraft:keep_inventory=true
Example for older versions of Minecraft:
gamerule.fire_damage=false
gamerule.keep_inventory=true
Preferences can also be edited in-game via ModMenu, if installed. In this case, only values that are different from vanilla's default will be written to the config.
Related Mods
Gamerule Menu
Makes the Gamerule menu accessible from singleplayer worlds
Cloth Gamerules
Cloth-Config replacement for the gamerules screen.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as preferred-gamerules-2.0.0+26.2.jar — drop this file into the mods folder
- Download size: 23 KB
- Download link checked 26 Aug 2026 — working
These come from our own check of the pack file, not from the source page.