作者:rebot | 分类:模组
Minecraft 版本: 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6
平台: fabric
标签: game-mechanics utility
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 from teleporting.disableShulkerTeleport): Prevent Shulkers from teleporting.disableHunger): Disable all hunger-based mechanics including the hunger bar.disableIce): Ice will not form naturally in cold biomes.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.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!
请登录后举报
暂无评论,抢个沙发吧~