Cobblemon Drop Loot Tables

Cobblemon Drop Loot Tables

Mod

Customize Pokémon loot drops using Minecraft's loot tables.

Server EconomyGame MechanicsManagement Mobs

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

Cobblemon Drop Loot Tables is a sidemod for Cobblemon, designed to offer customization for server administrators and modpack creators. This mod enables the use of Minecraft's loot table system to define the items dropped by Pokémon upon defeat in battle or when slain in the world, replacing Cobblemon's default drop mechanism.

Key Features:

  • Customizable Loot Drops: Harness the power of Minecraft's loot table framework to dictate what items Pokémon drop. Tailor the rewards to fit your server's economy, adventure maps, or specific gameplay mechanics.
  • Server & Modpack Friendly: Cobblemon Drop Loot Tables is perfect for creating a unique server experience or adding depth to your modpack. Customize loot to enhance gameplay, encourage exploration, or reward players in innovative ways.
  • Simple Integration: The mod integrates seamlessly with Cobblemon and Minecraft, making it easy to configure and implement your custom loot tables without any hassle.
  • Event-Driven System: The mod listens to Cobblemon's LOOT_DROPPED event, ensuring compatibility and responsiveness within the game's ecosystem.
  • Flexible Configuration: Define loot tables using the standard JSON format in Minecraft. This allows for a wide range of possibilities, from common item drops to rare and legendary rewards.

Technical Details:

  • Vanilla by default: The mod works with Cobblemon's logic instead of against it. If you don't define a loot table for a given species, it will use the drops from the species' data. The mod does not include any predefined loot tables, giving you the freedom to create and implement your own, or just stay vanilla.
  • Dynamic Identification: Loot tables are dynamically identified based on the Pokémon species, allowing for specific drops tailored to each type of Pokémon.

How to Use:

  1. Directory Structure: Place your custom loot tables in the following directory within an addon for your Minecraft server or modpack:
    /data/droploottables/loot_tables/gameplay/pokedrops/species
    
    Each Pokémon species will look for its loot table in this directory using its resource identifier. For example, a Pikachu would look for:
    /data/droploottables/loot_tables/gameplay/pokedrops/species/pikachu.json
    
  2. Create Loot Tables: Each JSON file should follow the standard Minecraft loot table format. Here is an example loot table for a Pikachu:
    {
        "type": "minecraft:entity",
        "pools": [
            {
                "rolls": 1,
                "entries": [
                    {
                        "type": "minecraft:item",
                        "name": "minecraft:yellow_wool",
                        "functions": [
                            {
                                "function": "minecraft:set_count",
                                "count": {
                                    "min": 1,
                                    "max": 3
                                }
                            }
                        ]
                    }
                ]
            }
        ]
    }
    
  3. Global Loot Table: You can also specify a global loot table that applies to all Pokemon, regardless of species. This will add to that Pokemon's species-specific drops. This file should be located at:
    /data/droploottables/loot_tables/gameplay/pokedrops/all.json
    

Project members

tmetcalfe89

Member

Details

Licensed MIT
Published 2 months ago
Updated 10 days ago