GameRule-Extensions
by rndmorris
GameRule-Extensions is a Forge library for 1.7.10 that lets mod authors define and read their own game rules in Minecraft.
What it does
Minecraft's built-in game rules are fixed in code, and this library rewrites that system so that other mods can register rules of their own. An author writes a custom IGameRule implementation for each new rule, and the returned IGameRules object then serves to look up and update rules by name.
The library is meant for mod developers rather than players, so a player never configures it directly. Its rules take effect on the server, which is why the server is required and a client may leave the library out. The API jar is added as a dependency in a mod project, and UniMixins must be installed alongside it.
Files are published for Forge 1.7.10 only, with 1.0.0 as the latest file from 2024-09-19. The code is open source under the MIT License, and the project's source code and issue tracker are both public. Rndmorris is the primary author, and the project follows the GTNH team's project template.
Key features
Custom game rules
Mods can define their own game rules by implementing the IGameRule interface and registering the result.
Rule lookup by name
The IGameRules object returned by the API reads and updates any registered rule using its name.
Extensible rule system
The rewritten rule handling is built so that further rule types can be added without changing the core.
Dependency on UniMixins
The library relies on UniMixins for its bytecode changes, so that mod must be present for the API to load.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: The library is intended for Minecraft 1.7.10 mod authors who need extra game rules, and for server owners who run mods that depend on it.
How it compares
GTNH Lib is an open source Forge library for 1.7.10 under the GNU Lesser General Public License v3.0 only, and it runs on both the client and the server. GameRule-Extensions is also open source under the MIT License and targets only 1.7.10, but only the server needs it, and players can join without installing it. DASM is an open source Forge option for 1.20 – 1.20.6 under the MIT License, and either side can run it, and neither needs it.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| GameRule-Extensions | Forge | 1.7.10 | Server required, client optional | 2024-09-19 |
| GTNH Lib | Forge | 1.7.10 | Client and server | 2026-10-13 |
| DASM | Forge | 1.20 – 1.20.6 | Client or server, optional | 2025-07-22 |
Questions
Does GameRule-Extensions need UniMixins?
Does a player need to install GameRule-Extensions?
Which game versions does GameRule-Extensions support?
In the catalog
GameRule-Extensions is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 1,013 mods support Minecraft 1.7.10.
More from rndmorris
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/gamerule-extensions
- Owner
- rndmorris
- Published
- 2024-09-19
- Updated on Modrinth
- 2024-09-19
- Facts verified
- 2026-10-15
