🌍 Granular Gamerules
Grants you more control over the vanilla game rule system by:
- Breaking up some of Minecraft's most overloaded game rules, such as
mobGriefing
,doMobSpawning
oruniversalAnger
, into deferrable sub-rules. - Adding smaller utility rules such as turning off thunder or removing underground players from the sleep vote.
- On dedicated servers, allowing some common properties in
server.properties
to be changed via fake game rules, such aspvp
orenableCommandBlock
.
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.
👩👧👦 Sub-Rules
When you install the mod, nothing will change right away. That's because most rules are deferred to their parent.
For example, the new rule mobGriefing/creepersDestroyBlocks
by default will just check mobGriefing
, but can be overridden to turn on or off Creeper destruction regardless.
There are 33 new sub-rules; for a full overview see the Wiki.
🛌 New Miscellaneous Rules
Granular Gamerules adds a couple new rules you might find yourself wanting:
- Removing underground players from the sleep vote - no longer prevented from sleeping due to miners.
- Disabling thunder from the weather cycle.
These are disabled by default, and are available on the wiki for details.
🖥️ 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 fake game rules:
pvp
allowFlight
enableCommandBlock
maxPlayers
spawnProtection
viewDistance
simulationDistance
entityBroadcastRangePercentage
These are backed by the actual server.properties
file, and will update the file on change.
🛠️ 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.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+