HomeJavaModsPreferred Gamerules
Preferred Gamerules

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more