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!
Still under heavy development. Stay tuned for more!
disableTargetingPlayers): Prevent mobs from targeting players.disableEndermanTeleport): Prevent Endermen (and other Ender-related mobs) from teleporting.disableShulkerTeleport): Prevent Shulkers from teleporting.doColdBiomesFreezeWater): Ice will not form naturally in cold biomes. (Minecraft 1.20.x only)disableHunger): Disable all hunger-based mechanics including the hunger bar.disableIceMelting): Ice will not melt when near a light source.disableCactusDamage): Cactus will not harm the player.disableBerryDamage): Sweet Berry bushes will not harm the player.disableEnderPearlDamage): Ender Pearls will not harm the player when they teleport the player.disableSuffocate): Suffocation will not harm the player.keepArmorOnDeath): The player will keep their armor in their inventory when they die.keepXPOnDeath): The player will keep their accumulated experience when they die.disableEnderEyeBreak): Eyes of Ender will never break when thrown.doInstantEat): Food is eaten instantly.doInstantXPCollect): Experience is picked up instantly.disableGhastGriefing): Ghast fireballs will no longer destroy blocks.disableBlockGravity): Blocks normally affected by gravity (e.g. sand, gravel) will no longer fall.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!
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.
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!