Collects items from Pokémon in nearby Pasture Blocks in Cobblemon.
This mod was inspired by Cobblemon Pasture Collector Mod by TimInc.
There are currently three tiers of Pasture Extractors: Iron, Gold and Diamond, each with different inventory size and probability of extracting items (configurable). The Extractors will randomly choose a Pokémon inside an adjacent Pasture Block and take a random item from its drop table (cooldown is configurable).
Possible drops are the same players would get if the Pokémon were defeated in battle, and probability scales with Pokémon's friendship level (less friendship, less chance) (also configurable).
Each cycle, the Extractors can emit particles:
Players can get items from Extractors by right-clicking them, by opening their menus (shift + right-click), or via hoppers.
Default config (config/pastureextractor.json):
{
"baseDropChances": {
"iron": 0.15,
"gold": 0.3,
"diamond": 0.5
},
"extractorCooldown": 200, // 200 ticks -> 10 seconds
"itemBlacklist": [],
"ignoreFriendship": false
}
Huge shoutout to: