Cobblemon Pasture Collector

Cobblemon Pasture Collector

Mod

Collects items from Pokemon in nearby Pasture Blocks in Cobblemon.

Client and server Game Mechanics Mobs

2,845 downloads
4 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

This mod adds a custom block called the Pasture Collector for the Minecraft mod Cobblemon. The Pasture Collector automatically interacts with nearby Pokemon Pasture Blocks from Cobblemon to generate item drops based on the Pokémon stored in those pastures. Here's how it works:

  • Block Functionality: The Pasture Collector is a block with an inventory that scans the surrounding area for Pokemon Pasture Blocks to its immediate north, south, east, and west. It checks for Pokémon inside those blocks and attempts to generate loot based on the species of the Pokémon. To add a loot table, add a loot table json file to data\pasturecollector\loot_tables\gameplay\pasture_collector\species with the name of the species to be matched.
  • Loot Generation: For eligible Pokémon, it references loot tables based on the Pokémon's species and attempts to generate drops. If successful, these items are added to the Pasture Collector's internal inventory.
  • Visual Feedback: If loot is generated, the block emits particles as a visual cue.
  • Interactions:
    • On Player Interaction: Players can right-click the block to retrieve the items stored inside.
    • On Block Break: When the block is broken, its contents are spilled into the world, creating item entities at its position.
    • Extraction: Items can be extracted out of the block using hoppers and similar blocks.
  • Inventory Management: The block can only store a single stack of items. If there is no available space, dropped items are voided. The mod is currently in Rapid Development and highly likely to change from its initial form until its idea is a bit more rounded out. If you have any questions or suggestions, please pop on by the Discord and let me know your thoughts!

Project members

tmetcalfe89

Member

Details

Licensed MIT
Published 3 months ago
Updated 2 months ago