关于
一款 Minecraft 模组,添加了大量新的 gamerule(游戏规则),以便更轻松地进行自定义。
本项目旨在为用户提供一组新的 gamerule,帮助他们更好地自定义 Minecraft 体验,同时也为其他模组开发者提供一个框架,供其实现自己的自定义 gamerule。
请继续阅读以下新增 gamerule 列表及其功能说明,以及近期即将推出的内容!
注意事项
仍在积极开发中。敬请期待更多内容!
当前新增 Gamerules
- 禁用对玩家的目标锁定 (
disableTargetingPlayers):阻止生物锁定玩家为目标。 - 禁用末影人传送 (
disableEndermanTeleport):阻止末影人进行传送。 - 禁用潜影贝传送 (
disableShulkerTeleport):阻止潜影贝进行传送。
计划中的新增 Gamerules
- 禁用饥饿 (
disableHunger):禁用所有基于饥饿的机制,包括饥饿条。 - 禁用自然结冰 (
disableIce):冰不会在寒冷生物群系中自然形成。 - 禁用光照融冰 (
disableIceMelting):靠近光源时冰不会融化。 - 禁用仙人掌伤害 (
disableCactusDamage):仙人掌不会对玩家造成伤害。 - 禁用甜浆果伤害 (
disableBerryDamage):甜浆果丛不会对玩家造成伤害。 - 禁用末影珍珠伤害 (
disableEnderPearlDamage):玩家通过末影珍珠传送时不会受到伤害。 - 禁用窒息伤害 (
disableSuffocate):窒息不会对玩家造成伤害。 - 死亡后保留盔甲 (
keepArmorOnDeath):玩家死亡后,其盔甲会保留在物品栏中。 - 死亡后保留经验值 (
keepXPOnDeath):玩家死亡后,会保留已积累的经验值。 - 末影之眼永不破碎 (
disableEnderEyeBreak):投掷末影之眼时永远不会破碎。 - 食物即时食用 (
doInstantEat):食物被瞬间食用完毕。 - 经验值即时拾取 (
doInstantXPCollect):经验球被瞬间拾取。 - 禁用恶魂破坏 (
disableGhastGriefing):恶魂的火球不再破坏方块。 - 禁用方块重力 (
disableBlockGravity):受重力影响的方块(如沙子、砾石)不再下落。
常见问题
- 是否会移植到 <insert mod loader here>?
- 目前计划移植到 Fabric。暂时不支持其他加载器,但如果感兴趣的人足够多,我愿意考虑添加支持。
- 是否会提供 <insert Minecraft version here> 的版本?
- 目前除了 1.16.5、1.18.2 和 1.19+ 之外,没有计划支持其他 Minecraft 版本,但如果感兴趣的人足够多,我愿意考虑添加支持。
- 你会添加 <insert gamerule here> 吗?
- 如果您希望添加上述计划列表之外的新 gamerule,请在 GitHub 上提交 Issue。我欢迎其他 gamerule 的想法,但其中一些可能不可行。
- 如何获取支持?
- 请在 GitHub 上提交 Issue。我通常不在评论中提供支持。
- 我可以在整合包中使用此模组吗?
- 当然可以!如果您打算这样做,我将不胜感激。如果您使用了它,请考虑给我发条消息,让我欣赏一下您的作品!
面向模组开发者
目前,本项目的框架组件仍在开发中,但完成后它将提供一种简单便捷的方式来添加新的自定义 gamerule。
您需要了解的主要事项是存在一个 GameruleRegistery(规则注册表),您可以通过 ID 和默认值(boolean 或 integer)在此注册新的 gamerule。该注册表在主模组类中可用,并包含检查 gamerule 是否存在及其获取其值的方法。
完整的文档将在框架准备就绪后发布在 GitHub 上。
结语
如果您正在阅读此内容,说明您已经看完了大部分项目信息。感谢您读到此处!如果您觉得此模组有用,请考虑以捐赠的形式送我一两颗绿宝石。这对我来说意义重大,并能激励我继续从事此类项目的开发。当然,这完全是可选的,我的模组将始终在宽松许可证下保持免费和开源。欢迎学习我的代码!
致谢/鸣谢
- Forge Team,提供了 Forge 模组开发框架
- Lothrazar,以其模组 More Powerful Game Rules 为本项目提供了灵感
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
下载 Expanded Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expanded Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expanded Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expanded Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expanded Gamerules
下载 Expanded Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expanded Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expanded Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Expanded Gamerules
下载 Expanded Gamerules
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
错误修复
- 修正了
preventColdBiomesFreezingWatergamerule 的错误命名。 - 修复了一些令人头疼的日志刷屏问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧