截图
介绍
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
.jarfile in yourmodsfolder (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 falsein 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
- Author: cebctadet
🌟 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!
常见问题
EndermanNoSpawnIron 支持哪些 Minecraft 版本?
EndermanNoSpawnIron 支持 Minecraft Java 版 1.19.3–1.21.10,共 18 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
EndermanNoSpawnIron 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分