HomeJavaModsGranular Gamerules
Granular Gamerules
ModsJava

Granular Gamerules

by JackFred · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.5 · Fabric⬇ Download for 1.21.4 · Fabric⬇ Download for 1.21.2–1.21.3 · Fabric⬇ Download for 1.21–1.21.1 · Fabric⬇ Download for 1.21.5 · Quilt⬇ Download for 1.21.4 · Quilt⬇ Download for 1.21.2–1.21.3 · Quilt⬇ Download for 1.21–1.21.1 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Granular Gamerules — screenshot 1

Archived

GG has been archived so I can stay focused on a smaller amount of mods for now. Given modern versions now have data-driven rules, and the ugliness of GG's client code it would make more sense to be a rewrite in the future.

🌍 Granular Gamerules

A meme explaining the mod - various vanilla gamerules such as mobGriefing are split into multiple.

Grants you more control over the vanilla game rule system by:

These are all done in a way that doesn't break datapacks, mods or server plugins that change game rules, while letting you 'pin' features on or off.

There are 37 new sub-rules, 3 miscellaneous rules and 8 server.properties rules; for a full description of each see the Wiki.

Full list of rules

🛌 New Miscellaneous Rules

Granular Gamerules adds a couple new rules you might find yourself wanting:

These are disabled by default, and details are available on the wiki.

🖥️ Dedicated Server Rules

You may have setup a dedicated server and realised you forgot to change some settings in server.properties. Granular Gamerules lets you change several of these in-game via psuedo-gamerules:

These are backed by the actual server.properties file, and will update the file on change.

👩‍👧‍👦 Sub-Rules (Datapack & Server Plugin backwards compatibility)

Granular Gamrules lets you change parts of gamerules when you need them. Other parts will follow the parent gamerule until they are changed.

For example, if you wanted to specifically stop creepers blowing up blocks, you'd use /gamerule mobGriefing/creepersDestroyBlocks false. Other mobGriefing sub-rules such as Zombies breaking doors, will follow the parent /gamerule mobGriefing until changed.

🛠️ Install & Requirements

Can work server-side only, in the case of dedicated servers.

Granular Gamerules requires Fabric API and YACL, and should be good to add or remove to an existing world.

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