Gamerules
Minecraft's built in game rules can be set via the <gamerules>
module. Not all gamerules are supported, the table below lists which are supported.
When stopping the daylight cycle, you should either use the <doDaylightCycle>
gamerule or the <timelock>
module.
Element | Description |
---|---|
Node containing the defined game rules. |
Supported Gamerule Sub-elements
Element | Description | Values |
---|---|---|
Toggles whether firespread occurs. | true / false | |
Toggles whether tile entities drop. | true / false | |
Toggles whether mobs drop loot on death. | true / false | |
Toggles whether mobs such as Creepers and Endermen cause enviromental damage. | true / false | |
Toggles whether or not players naturally regain heath. | true / false | |
Toggles whether or not time tick occurs. | true / false |
<gamerules>
<doDaylightCycle>false</doDaylightCycle>
<naturalRegeneration>false</naturalRegeneration>
</gamerules>
Unsupported Gamerules
Rule | Reason |
---|---|
Not supported in favor of the mobs module. | |
Not supported since PGM already solves this with kits. | |
Command blocks are disabled in PGM. | |
Not useful in custom maps. | |
Not useful in custom maps. | |
Not useful in custom maps. | |
Not useful in custom maps. | |
Not useful in custom maps. |