Mineuniverse
Log in Register
Mods

Expanded Gamerules

A Minecraft mod that adds a bunch of new gamerules for easier customization.
by GlekTarssza
Download Claim this project
3,429 downloads
0 likes
Updated Jun 30, 2026
0 hypes

About

A Minecraft mod that adds a bunch of new gamerules for easier customization.

The goal of this project is to provide users with a collection of new gamerules that they can use to better customize their Minecraft experience as well as to provide other modders with a framework which they can use to implement their own custom gamerules.

Read on for a list of newly added gamerules as well as what they do as well as what to expect in the near future!

Notes

Still under heavy development. Stay tuned for more!

Current New Gamerules

  • Disable Targeting Players (disableTargetingPlayers): Prevent mobs from targeting players.
  • Disable Enderman Teleportation (disableEndermanTeleport): Prevent Endermen (and other Ender-related mobs) from teleporting.
  • Disable Shulker Teleportation (disableShulkerTeleport): Prevent Shulkers from teleporting.
  • Disable Ice Formation (doColdBiomesFreezeWater): Ice will not form naturally in cold biomes. (Minecraft 1.20.x only)

Planned New Gamerules

  • Disable Hunger (disableHunger): Disable all hunger-based mechanics including the hunger bar.
  • Disable Light Melts Ice (disableIceMelting): Ice will not melt when near a light source.
  • Disable Cactus Damage (disableCactusDamage): Cactus will not harm the player.
  • Disable Sweet Berry Damage (disableBerryDamage): Sweet Berry bushes will not harm the player.
  • Disable Ender Pearl Damage (disableEnderPearlDamage): Ender Pearls will not harm the player when they teleport the player.
  • Disable Suffocation (disableSuffocate): Suffocation will not harm the player.
  • Keep Armor after Death (keepArmorOnDeath): The player will keep their armor in their inventory when they die.
  • Keep Experience after Death (keepXPOnDeath): The player will keep their accumulated experience when they die.
  • Eyes of Ender Never Break (disableEnderEyeBreak): Eyes of Ender will never break when thrown.
  • Food Consumed Instantly (doInstantEat): Food is eaten instantly.
  • Instant Experience Pickup (doInstantXPCollect): Experience is picked up instantly.
  • Disable Ghast Griefing (disableGhastGriefing): Ghast fireballs will no longer destroy blocks.
  • Disable Block Gravity (disableBlockGravity): Blocks normally affected by gravity (e.g. sand, gravel) will no longer fall.

Frequently Asked Questions

Q: Is a port planned?
A: At present a Fabric port is planned. No other mod loaders are planned to be supported at the moment but if there's enough interest I'd be open to adding support.

Q: Is a version for planned?
A: At present there is no planned support for other versions of Minecraft except 1.16.5, 1.18.2, and 1.19+ but if there's enough interest I'd be open to adding support.

Q: Will you add ?
A: Please submit an issue on GitHub if you want a new gamerule not in the above planned list. I'm open to other gamerule ideas but some may not be feasible.

Q: How can I get support?
A: Please file an issue on GitHub. I generally do not provide support in the comments.

Q: Can I use this mod in a mod pack?
A: Yes! I'd be honored if you wanted to do that. Please consider shooting me a message if you do so I can check out your work!

For Modders

At present the framework component of this project is still under development but once completed it will provide an easy and convenient way to add new custom gamerules.

The primary things you will need to know is that there is a `GameruleRegistery` on which you can register new gamerules with an ID and a default value (either a `boolean` or an `integer`). This registery is available on the main mod class and contains methods for checking for a gamerule's existence and getting its value.

Full documentation will be available on GitHub once the framework is ready.

Final Thoughts

If you're reading this you've made it through most of the project information. Thanks for reading this far! If you find this mod useful please consider tossing an emerald or two my way in the form of a donation. It really means a lot and provides motivation to keep working on projects like these. It is completely optional, though, and my mods will always be free and open source under a permissive license. Feel free to learn from my work!

Credits/Thanks

v0.4.1 for Fabric on 1.20.x
MC 1.20.2, 1.20.5, Fabric, Client, 1.20.3, 1.20.1, 1.20, 1.20.6, 1.20.4, Server
Release 2025-07-13 Get
v0.4.1 for Forge on 1.20.x
MC 1.20.2, 1.20.5, Client, 1.20.3, 1.20.1, Forge, 1.20, 1.20.6, 1.20.4, Server
Release 2025-07-13 Get
v0.4.0 for Forge on 1.20.x
MC 1.20.2, 1.20.5, Client, 1.20.3, 1.20.1, Forge, 1.20, 1.20.6, 1.20.4, Server
Release 2025-05-11 Get
v0.4.0 for Fabric on 1.20.x
MC 1.20.2, 1.20.5, Fabric, Client, 1.20.3, 1.20.1, 1.20, 1.20.6, 1.20.4, Server
Release 2025-05-11 Get
v0.3.4 for Forge on 1.19.2
MC Client, 1.19.2, Forge, Server
Release 2024-08-01 Get
v0.3.3 for Fabric on 1.18.x
MC 1.18.1, Fabric, Client, 1.18.2, 1.18, Server
Release 2024-03-12 Get
v0.3.3 for Forge on 1.18.x
MC 1.18.1, Client, 1.18.2, Forge, 1.18, Server
Release 2024-03-12 Get
v0.3.3 for Forge on 1.19.x
MC 1.19.3, 1.19.4, Client, 1.19.2, Forge, 1.19.1, Server, 1.19
Release 2024-03-12 Get
v0.3.3 for Fabric on 1.19.x
MC 1.19.3, 1.19.4, Fabric, Client, 1.19.2, 1.19.1, Server, 1.19
Release 2024-03-12 Get

More from GlekTarssza

GTNH Customizer
542
Create Curio Goggles
100,487

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998