Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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 from teleporting. - Disable Shulker Teleportation (
disableShulkerTeleport
): Prevent Shulkers from teleporting.
Planned New Gamerules
- Disable Hunger (
disableHunger
): Disable all hunger-based mechanics including the hunger bar. - Disable Ice Formation (
disableIce
): Ice will not form naturally in cold biomes. - 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
- Is a <insert mod loader here> port planned?
- 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.
- Is a version for <insert Minecraft version here> planned?
- 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.
- Will you add <insert gamerule here>?
- 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.
- How can I get support?
- Please file an issue on GitHub. I generally do not provide support in the comments.
- Can I use this mod in a mod pack?
- 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
- The Forge Team for providing the Forge modding framework
- Lothrazar for the inspiration for this project in the form of his mod More Powerful Game Rules