Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Granular Gamerules

Granular Gamerules

Breaks up some of the most overloaded Game Rules such as mobGriefing into individual features.

1,109
22
Game Mechanics
Management
Utility
AboutGalleryChangelogVersions

🌍 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:

  • Breaking up some of Minecraft's most overloaded game rules, such as mobGriefing, doMobSpawning or universalAnger, 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 as pvp or enableCommandBlock.

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
  • mobGriefing
    • creaturesEatPlants
    • creepersDestroyBlocks
    • endermenMoveBlocks
    • enderDragonDestroysBlocks
    • evokersWololo
    • ghastsDestroyBlocks
    • itemsTakenByAllays
    • itemsTakenByPiglins
    • itemsTakenByOthers
    • mobsCrushTurtleEggs
    • mobsTrampleFarmland
    • ravagersDestroyPlants
    • silverfishEnterStone
    • silverfishWakeFriends
    • snowGolemsLeaveTrails
    • withersDestroyBlocks
    • zombiesBreakDoors
  • doMobSpawning
    • creature
    • monster
    • ambient
    • waterCreature
    • undergroundWaterCreature
    • waterAmbient
    • axolotl
  • randomTickSpeed
    • extraCopperTicks
    • extraCropTicks
    • extraFarmlandTicks
    • extraLeafTicks
    • extraSaplingTicks
    • extraSpreadingTerrainTicks
  • universalAnger
    • bees
    • endermen
    • ironGolems
    • llamas
    • piglins
    • wolves
    • zombifiedPiglins
  • server.properties psuedo-gamerules
    • pvp
    • allowFlight
    • enableCommandBlock
    • maxPlayers
    • spawnProtection
    • simulationDistance
    • viewDistance
    • entityBroadcastRangePercentage
  • doWeatherCycle/enableThunder
  • lavaSourceConversion/onlyInNetherBiomes
  • playersSleepingPercentage/countUnderground
  • playersTrampleFarmland
  • waterSourceConversion/onlyInWetBiomes

🛌 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.
  • Stopping players from trampling farmland.
  • Filtering water & lava source conversions by biome

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:

  • pvp
  • allowFlight
  • enableCommandBlock
  • maxPlayers
  • spawnProtection
  • viewDistance
  • simulationDistance
  • entityBroadcastRangePercentage

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.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x

Platforms

Fabric
Quilt

Supported environments

Server-side

Links

Report issues View source Visit wiki
Donate on Ko-fi

Creators

JackFred
JackFred Member

Details

Licensed ARR
Published 9 months ago
Updated last month

Modrinth is open source.

main@656c5b6

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.