末影人不会在铁块上生成 – 阻止末影人在下界末地(The End)的铁块上生成
厌倦了末影人在末地的铁块上不断刷新的烦恼了吗?
这款轻量级 Fabric 模组添加了一条游戏规则,可防止末影人在末地维度中于铁块上生成,从而保护你的末地建筑与红石装置。
? 概述
在末地建造农场、机械装置或装饰性结构时,你可能会发现末影人经常刷新在铁块上(例如信标基座或装饰方块),有时甚至会干扰你的机器运行。
No Enderman on Iron 会监听末地中的末影人生成事件,如果其下方的方块是铁块,则立即将其移除——不会影响其他任何生物的生成。
该模组引入了一条新的游戏规则 preventEndermanOnIron(默认启用),你可以通过命令随时切换其状态,完全掌控这一功能。
✨ 特性
- 精准拦截:仅检查末地中末影人的生成情况;其他维度不受影响。
- 智能检测:仅当末影人正下方紧邻的方块为铁块(
minecraft:iron_block)时才会移除它。
- 可配置规则:使用
/gamerule preventEndermanOnIron [true/false] 即可启用或禁用此模组,无需重启世界。
- 轻量且兼容:仅监听必要的事件,不修改原版机制,可与其他模组共存。
? 使用方法
- 将模组的
.jar 文件放入你的 mods 文件夹中(需要 Fabric Loader 和 Fabric API)。
- 启动游戏(单人模式或服务器均可)。
- 默认情况下规则已启用(
true)。如需临时禁用:
- 在聊天栏输入
/gamerule preventEndermanOnIron false。
- 如需重新启用:
- 在聊天栏输入
/gamerule preventEndermanOnIron true。
注意:该游戏规则为服务端生效,因此适用于单人和多人游戏(只需服务器安装该模组即可生效,客户端即使未安装也可正常运行)。
✅ 兼容性
- Minecraft 版本:已在 1.19.3 – 1.20.4 版本上测试通过(可能在其他版本也能正常工作;未来更新可能会扩大支持范围)。
- 依赖项:Fabric API(必需)。
- 运行环境:同时支持客户端和服务端(仅需在服务端安装该模组即可使规则生效)。
? 下载
从 官方 Modrinth 页面 获取最新版本。
?? 作者
? 反馈与建议
如果你遇到任何问题或有改进建议,欢迎在 Modrinth 项目页面 留言。
喜欢这个模组吗?请在 Modrinth 上给它一个 ⭐ 以表示支持!
No Enderman on Iron – Prevent Endermen from Spawning on Iron Blocks in The End
Tired of Endermen spawning on your iron blocks in the End?
This lightweight Fabric mod adds a game rule that prevents Endermen from spawning on iron blocks in the End dimension, protecting your end-based builds and redstone contraptions.
? Overview
When building farms, contraptions, or decorative structures in the End, you may notice Endermen frequently spawning on iron blocks (e.g., beacon bases or decorative blocks), sometimes interfering with your machines.
No Enderman on Iron listens for Enderman spawn events in the End and removes them immediately if the block beneath them is an iron block – without affecting any other mob spawns.
The mod introduces a new game rule preventEndermanOnIron (enabled by default) that you can toggle at any time via commands, giving you full control.
✨ Features
- Targeted interception: Only checks Endermen spawning in the End; other dimensions are untouched.
- Smart detection: Removes Endermen only when the block directly below is an iron block(
minecraft:iron_block).
- Configurable rule: Use
/gamerule preventEndermanOnIron [true/false] to enable or disable the mod without restarting the world.
- **Lightweight & compatible: Listens only to necessary events, does not modify vanilla mechanics, and works alongside other mods.
? How to Use
- Place the mod
.jar file in your mods folder (requires Fabric Loader and Fabric API).
- Launch the game (singleplayer or server).
- By default, the rule is enabled (
true). To temporarily disable it:
- Type
/gamerule preventEndermanOnIron false in chat.
- To re‑enable:
- Type
/gamerule preventEndermanOnIron true.
Note: The game rule is server‑side, so it works in both singleplayer and multiplayer (only the server needs to have the mod installed, though clients can also have it).
✅ Compatibility
- Minecraft versions: Tested on 1.19.3 – 1.20.4 (may work on other versions; future updates may expand support).
- Requires: Fabric API (mandatory).
- Environment: Works on both client and server (server‑side only installation is sufficient for the rule to take effect).
? Download
Get the latest release from the official Modrinth page.
?? Author
? Feedback & Suggestions
If you encounter any issues or have ideas for improvements, feel free to leave a comment on the Modrinth project page.
Enjoy the mod? Give it a ⭐ on Modrinth to show your support!
评论 0
登录后参与评分
还没有评论,来抢沙发吧