Periodic Mob Drops

Quick rating

Community listing page, reviews here may not be monitored by the author.

Periodic Mob Drops

No reviews yet

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

Mod Loaders
Minecraft

About

Description

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