Game rule
A rule of the world, set with the gamerule command.
How to add it#
- New thing > Logic and code > Game rule
What you can set#
The main settings are below. The Game rule editor lists every setting.
| Setting | What it does |
|---|---|
| Name | The rule's name, as the Edit Game Rules screen lists it. |
| Game name | The rule's name in the game, as the gamerule command and a rule's words name it after the mod's name. |
| Holds | Whether the rule is on or off, as keep inventory is, or a number, as the random tick speed is. Choose one of: On or off, A number. |
| Starts on | Whether the rule is on in a new world until someone sets it. |
| Starts at | The rule's number in a new world until someone sets it. From -1000000 to 1000000. |
What it becomes in the game#
It is not part of the game itself: it describes another mod or a file, so it has no side to choose.
What it works with#
It does not point at other things.
Picture#
