Modscraper Modscraper Minecraft
Preferred Gamerules logo

Preferred Gamerules

Mod

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

Type

Mod

Modrinth Downloads

770,894

Modrinth ID

kKib77nY

Last Updated

Oct 31, 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

b79a0a6e2d5003b96ac0d6b04c6802984204963f.png Gamerule Menu

Makes the Gamerule menu accessible from singleplayer worlds

c887d6f945f05f00e130e422c160ce84172da14e.jpeg 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 +14 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (30)

Most downloaded
Show all 30 modpacks

External Resources