已归档
GG 现已归档,以便我目前能专注于数量更少的模组。鉴于现代版本已支持基于数据驱动的规则,且 GG 客户端代码存在诸多弊端,未来进行重写会更为合理。
? Granular Gamerules

通过以下方式赋予你对原版游戏规则系统更多的控制权:
- 将 Minecraft 中部分负载过重的游戏规则(如
mobGriefing、doMobSpawning或universalAnger)拆分为可延迟执行的子规则。 - 添加一些小型实用规则,例如关闭雷电或将地下的玩家从睡眠投票中移除。
- 在专用服务器上,允许通过虚假游戏规则更改
server.properties中的某些常见属性,例如pvp或enableCommandBlock。
所有这些操作均以不破坏更改游戏规则的整合包、模组或服务器插件的方式进行,同时允许你“固定”功能的开启或关闭状态。
共有 37 个新的子规则、3 个杂项规则和 8 个 server.properties 规则;每个规则的完整描述请参阅 Wiki。
规则完整列表
- 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伪游戏规则- pvp
- allowFlight
- enableCommandBlock
- maxPlayers
- spawnProtection
- simulationDistance
- viewDistance
- entityBroadcastRangePercentage
- doWeatherCycle/enableThunder
- lavaSourceConversion/onlyInNetherBiomes
- playersSleepingPercentage/countUnderground
- playersTrampleFarmland
- waterSourceConversion/onlyInWetBiomes
? 新增杂项规则
Granular Gamerules 添加了一些你可能需要的几个新规则:
- 将地下的玩家从睡眠投票中移除——不再因矿工而在地下无法睡觉。
- 禁用天气循环中的雷电。
- 阻止玩家踩踏农田。
- 按生物群系过滤水源和岩浆源转换
这些规则默认处于禁用状态,详细信息可在 Wiki 上查看。
?️ 专用服务器规则
你可能搭建了一个专用服务器,并意识到忘记更改 server.properties 中的一些设置。Granular Gamerules 允许你通过伪游戏规则在游戏内更改其中几项设置:
pvpallowFlightenableCommandBlockmaxPlayersspawnProtectionviewDistancesimulationDistanceentityBroadcastRangePercentage
这些规则由实际的 server.properties 文件提供支持,并在更改时更新该文件。
??? 子规则(整合包与服务器插件向后兼容)
Granular Gamrules 允许你在需要时更改游戏规则的部分内容。其他部分将继续遵循父级游戏规则,直到它们被更改为止。
例如,如果你想专门阻止苦力怕炸毁方块,你可以使用 /gamerule mobGriefing/creepersDestroyBlocks false。其他 mobGriefing 子规则(如僵尸破门)将继续遵循父级 /gamerule mobGriefing,直到被更改。
?️ 安装与要求
可以在专用服务器上仅作为服务端模组运行。
Granular Gamerules 需要 Fabric API 和 YACL,并且可以安全地添加到现有世界中或从中移除。
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
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Granular Gamerules
下载 Granular Gamerules
下载 Granular Gamerules
下载 Granular Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Granular Gamerules
下载 Granular Gamerules
下载 Granular Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Granular Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Granular Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
上一个版本:v1.1.0+1.21.1
包含依赖:
- JackFredLib: 0.10.6+1.21.1
- Mixin Extras: 0.5.0-beta.5
完整更新日志:
- [feat] 流体转换生物群系检查
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧