Configurable Extra Mob Drops 是一个服务端模组,可为任何实体添加死亡时掉落额外物品的功能。首次加载时,它会生成一个配置文件。你可以手动添加物品,或使用游戏内的命令进行添加。支持带有 NBT 标签的物品,例如附魔书和已命名的书。同时也支持模组添加的实体。如果配置文件不存在,它将自动生成并包含所有可能的实体类型;后续你添加的模组中的生物也会自动加入其中。
生成的配置文件位于 ./config/serilum/configurableextramobdrops/ 目录下,文件名为 mobdropconfig.txt。掉落几率可通过命令设置,也可以在配置文件中修改。每个掉落物还可以设置随机数量(例如 1 到 3),并可像附魔台那样随机附魔。默认情况下,通过掉落几率检查的所有掉落物都会掉落,但如果启用 'onlyOneRandomDrop' 配置选项,则生物每次只掉落其中一个,且为随机选择。
/cemd usage - 显示命令用法。
/cemd list - 列出所有可用于 addhand 和 cleardrops 命令的生物名称。
/cemd reload - 重新加载对 mobdropconfig 文件所做的所有手动更改。
/cemd addhand <entity-name> - 将主手所持物品作为名为 <entity-name> 的实体的掉落物添加,掉落概率为 100%。
/cemd addhand <entity-name> <drop-chance> - 将主手所持物品作为名为 <entity-name> 的实体的掉落物添加,掉落概率在 0 到 1.0 之间。
/cemd addhand <entity-name> <drop-chance> <min-amount> <max-amount> - 与上述相同,但掉落数量在 <min-amount> 和 <max-amount> 之间随机生成。
/cemd addhand <entity-name> <drop-chance> <min-amount> <max-amount> <enchant-level> - 与上述相同,但每个掉落的物品都会像通过附魔台一样随机附魔至 <enchant-level> 等级。书籍会变成附魔书。
/cemd cleardrops <entity-name> - 清除名为 <entity-name> 的实体所有的额外掉落物。
所有命令都需要开启作弊权限。
/cemd usage 命令:
/cemd list 命令。显示可在 /cemd addhand 和 /cemd cleardrops 中使用的所有实体名称。
/cemd addhand <entity-name> 命令。以 100% 的概率为猪的掉落物添加刷怪蛋(例如小猪):
/cemd addhand <entity-name> <drop-chance> 命令。以 50% 的概率为猪的掉落物添加刷怪蛋(例如小猪):
/cemd cleardrops <entity-name> 命令。清除之前设置的掉落物。
使用 /cemd reload 命令。在手动修改 mobdropconfig 文件后,更新了掉落物。
示例:
在奶牛死亡时向其掉落物中添加一个牛奶桶的示例。使用 /cemd addhand 命令:
对一头奶牛进行测试:
哇哦!一个牛奶桶!
所有可用的配置选项:
显示剧透
onlyOneRandomDrop 默认 false
实体是否仅掉落其额外掉落物中的一种,从通过掉落概率检查的选项中随机选取。
位于 './config/serilum/configurableextramobdrops/mobdropconfig.txt' 中。
也可以通过游戏内 Mods -> Configurable Extra Mob Drops -> Config 中的 'Extra Config Files' 标签页进行编辑。
原版实体:
以及来自例如 Animalium 等模组的模组实体:
一个配置示例:僵尸村民有 50% 的概率掉落一本已书写的书:
结果:
您可以自由地将此模组用于任何整合包,前提是下载源仍托管在 CurseForge 或 Modrinth 生态系统中。
Serilum.com 提供了所有可用模组的概览及更多信息。
如有问题、想法、建议或其他内容,请访问 Github 仓库。谢谢!
Configurable Extra Mob Drops is a server-side mod which adds the ability to add extra items to drop on death for any entity. On first load, it generates a config file. You can add items manually, or use the commands in-game. Any items with NBT tags such as enchantments and written books are supported. Modded entities are also supported. If the file does not exist, it'll be generated with all possible entity types, and mobs from mods you add later on are added to it automatically.
The config file generated is located in './config/serilum/configurableextramobdrops/' named 'mobdropconfig.txt'. The drop chances are set via the command or can be changed in the config file as well. Each drop can also have a random amount, for example 1 to 3, and be enchanted randomly like an enchanting table would. By default every drop that passes its drop chance is dropped, but with the 'onlyOneRandomDrop' config option enabled a mob only drops one of them, picked at random.
/cemd usage - Shows the usage of commands.
/cemd list - Lists all entity names which can be used in addhand and cleardrops.
/cemd reload - Reloads all manual changes to the mobdropconfig file.
/cemd addhand <entity-name> - Adds the item held in the main hand as a drop for the entity named <entity-name> with a 100% dropchance.
/cemd addhand <entity-name> <drop-chance> - Adds the item held in the main hand as a drop for the entity named <entity-name> with a dropchance in between 0 and 1.0.
/cemd addhand <entity-name> <drop-chance> <min-amount> <max-amount> - Same as above, but drops a random amount in between <min-amount> and <max-amount>.
/cemd addhand <entity-name> <drop-chance> <min-amount> <max-amount> <enchant-level> - Same as above, but every dropped item is enchanted randomly at <enchant-level>, like an enchanting table would. Books become enchanted books.
/cemd cleardrops <entity-name> - Clears all extra drops for the entity named <entity-name>.
All commands require cheat-access.
The /cemd usage command:
The /cemd list command. Shows all entity names which can be used in /cemd addhand and /cemd cleardrops.
The /cemd addhand <entity-name> command. Adding a Spawn Pig egg item to the drops of a pig with a 100% chance:
The /cemd addhand <entity-name> <drop-chance> command. Adding a Spawn Pig egg item to the drops of a pig with a 50% chance:
The /cemd cleardrops <entity-name> command. Clears the egg previously set.
The /cemd reload command. Updated the drops after a manual change in the mobdropconfig file.
Example:
An example of adding a milk bucket to the drops of a cow on death. Using the /cemd addhand command:
Testing it out on a cow:
Woop! A milk bucket!
All available config options:
Show Spoiler
onlyOneRandomDrop default false
Whether a mob drops only one of its extra drops, picked at random from the ones that passed their drop chance.
Located in './config/serilum/configurableextramobdrops/mobdropconfig.txt'.
It can also be edited in-game via Mods -> Configurable Extra Mob Drops -> Config, in the 'Extra Config Files' tab.
Vanilla entities:
And with modded entities from for example Animalium:
A config example where a zombie villager drops a written book with a 50% drop chance:
The result:
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Configurable Extra Mob Drops
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 生物掉落物现在可以在游戏内编辑。
- 位于配置文件的“额外配置文件”选项卡中。
包含之前版本详细信息的完整更新日志可在我的网站上找到:
>
- 添加了每次掉落随机数量和附魔的效果,可通过 /cemd addhand 进行设置。
- 新增了 'onlyOneRandomDrop' 配置选项。
- 新增模组中的生物现在会自动添加到配置文件中。
- (1.20) 修复了模组掉落物变为空气以及掉落物无法堆叠的问题。
- (1.20 / 1.21) 修复了配置文件中未知生物覆盖猪的掉落物的问题。
- (1.21+) 修复了 /cemd addhand 移除手持物品自身数据的问题。
包含先前版本详细信息的完整更新日志可在我的网站上查看:
>
- 将最新更改移植到 Minecraft 版本 26.1.2,该版本现已重新获得积极支持。
包含之前版本详细信息的完整更新日志可在我的网站上找到:
>
将模组的 Java 包名更改为 com.serilum.*。
更新了 mods.toml 和 fabric.mod.json 文件中的模组信息。
无功能性变更。
包含先前版本详细信息的完整更新日志可在我的网站上找到:
>
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组

评论 0
登录后参与评分
还没有评论,来抢沙发吧