跳到正文

Periodic Mob Drops

作者:Mahghuuuls

Configure creatures to periodically drop items without being killed. Each rule controls the output item, stack size, interval, and drop chance.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Periodic Mob Drops

Configure eligible creatures to have a chance to produce item stacks at chosen intervals. Start with no active rules, so installing the mod does not change gameplay until you configure it.

AI usage disclaimer: This mod was developed with AI-agent assistance using this exact agent workflow. The project owner reviewed the work during development.

Rules are stored in config/periodicmobdrops.cfg:

entity_id ; item_id ; stack_size ; interval_seconds ; chance_percent ; metadata ; entity_nbt_condition

Metadata is optional and defaults to 0. An optional entity-state condition can distinguish creature variants that share one entity ID. The condition is written using SNBT, Minecraft’s text form of NBT. It reads and matches creature state without modifying it.

minecraft:chicken ; minecraft:feather ; 1 ; 180 ; 75
minecraft:sheep ; minecraft:wool ; 1 ; 180 ; 75 ; 14
defiledlands:book_wyrm ; defiledlands:book_wyrm_scale_golden ; 1 ; 300 ; 100 ; 0 ; {Golden:true}

The first example gives each loaded chicken a 75% chance to drop one feather every three minutes. The second does the same for red wool from sheep by using metadata 14. The third targets only golden Book Wyrms using their saved Golden state.

Configuration changes require a restart.

Install the mod in the Minecraft instance or server that runs the world.

Source code

常见问题

Periodic Mob Drops 支持哪些 Minecraft 版本?

Periodic Mob Drops 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Periodic Mob Drops 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Mahghuuuls 的其他作品

查看全部 →