通过命令和配置文件为实体添加额外的物品掉落,并支持掉落概率设置。
Configurable Extra Mob Drops 是一个服务端模组,它为任何实体添加了在死亡时掉落额外物品的功能。首次加载时,它会生成一个配置文件。你可以手动添加物品,或者使用游戏内的命令。支持带有 NBT 标签的物品,例如附魔和已书写的书。也支持模组实体,只需确保在添加包含自定义生物的模组之间移除或重命名配置文件。如果文件不存在,它将使用所有可能的实体类型进行生成。 生成的配置文件位于 ' ./config/serilum/configurableextramobdrops/ ',文件名为 ' mobdropconfig.txt '。掉落几率通过命令设置,也可以在配置文件中更改。 /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 cleardrops <entity-name> - 清除名为 <entity-name> 的实体的所有额外掉落物。 所有命令都需要作弊权限。 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: Located in ' ./config/serilum/configurableextramobdrops/mobdropconfig.txt '. 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. Comments are disabled as I'm unable to keep track of them across so many separate mod pages. For issues, ideas, suggestions or anything else there is the Github repo . Thanks!
在鱼乐云资源中心浏览该资源,登录后可一键安装到你的游戏服务器。