Granular Gamerules
Breaks up some of the most overloaded Game Rules such as mobGriefing into individual features.
截图
介绍
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

Grants you more control over the vanilla game rule system by:
- Breaking up some of Minecraft’s most overloaded game rules, such as
mobGriefing,doMobSpawningoruniversalAnger, 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.propertiesto be changed via fake game rules, such aspvporenableCommandBlock.
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.propertiespsuedo-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:
pvpallowFlightenableCommandBlockmaxPlayersspawnProtectionviewDistancesimulationDistanceentityBroadcastRangePercentage
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.
常见问题
Granular Gamerules 支持哪些 Minecraft 版本?
Granular Gamerules 支持 Minecraft Java 版 1.21–1.21.5,共 6 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
Granular Gamerules 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
JackFred 的其他作品
查看全部 →More Chat History
增加聊天记录的最大长度。
Lenient Death
让死亡惩罚更加宽容,允许你保留特定物品。
Chest Tracker
客户端物品收纳,帮你记住东西都放在哪儿。
Where Is It
Search for items in nearby inventories - now functions server-side only!
评论
登录后评论和评分