Modscraper Modscraper Minecraft
Preferred Gamerules logo

Preferred Gamerules

Mod

Light-weight mod for changing the default values of gamerules.

Type

Mod

Modrinth Downloads

449,304

Modrinth ID

kKib77nY

Last Updated

Jun 12, 2026

Description

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.

Compatibility

Mod Loaders

Fabric

Game Versions

1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 +13 more

Similar Mods

Included in Modpacks

External Resources