Custom Loot Handler
作者:aduckQwQ
Dynamically modify entity loot drops in-game using a simple command. Perfect for map makers!
介绍
中文介绍正在准备中,下面暂时显示原文。
Custom Loot Handler
A lightweight and powerful utility mod designed for map makers and server admins. It allows you to dynamically change what mobs drop when killed, all without writing a single line of JSON or restarting the game.
✨ Features
- Dynamic Replacement: Change any item dropped by any entity into another item.
- Custom Quantities: Specify exactly how many of the new item should drop.
- Persistent Rules: Your replacement rules are saved to a config file and persist across game restarts.
- In-Game Command: Use
/loothandlerwith full tab-completion to set up your rules instantly.
🎮 How to Use
- Spawn or find a mob (e.g., a Zombie).
- Use the command:
/loothandler <entity> <from_item> <to_item> <count> - Example:
/loothandler @e[type=zombie,limit=1] rotten_flesh diamond 3 - Kill the zombie. Instead of rotten flesh, it will drop 3 diamonds!
⚠️ Important Note
Due to current command parser limitations in some versions, please DO NOT use the minecraft: namespace prefix in the parameters. Use the simple IDs instead.
- ✅ Correct:
/loothandler @e[type=zombie,limit=1] rotten_flesh diamond 3 - ❌ Incorrect:
/loothandler @e[type=zombie,limit=1] minecraft:rotten_flesh minecraft:diamond 3
📦 Compatibility
- Minecraft 1.21.10
- NeoForge 21.10.64
常见问题
Custom Loot Handler 支持哪些 Minecraft 版本?
Custom Loot Handler 支持 Minecraft Java 版 1.21.10,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Custom Loot Handler 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分