This mod can lock any game rules in all saves. (Include new ones)
Fell free to use this mod in your modpack.
How to use
For example, you want to force set doDaylightCycle
to false
1.Open file .minecraft/config/global_game_rule.json
. If this file is not existed, create it.
2.Write the following contents:
{
"doDaylightCycle": true
}
3.Run /reload
(If you on a server) and rejoin the world.