Download Cobblemon Drop Loot Tables — Minecraft Mods — MetaMods

Cobblemon Drop Loot Tables

Active

Downloads

34

Last update

6 months ago

Versions

1.20.1 — 1.21.1
Server
Fabric
Game mechanics
Utils
Addons

Cobblemon Drop Loot Tables

Cobblemon Drop Loot Tables is an additional module for Cobblemon that provides server administrators and mod creators with extended loot drop customization capabilities. This mod replaces Cobblemon's standard Pokémon drop system with Minecraft's flexible loot table system.

Key Features

Customizable Item Drops: Utilize Minecraft's powerful loot table system to define which items Pokémon drop. Configure rewards according to your server's economy, adventure map features, or specific gameplay mechanics.

Perfect for Servers and Modpacks: This mod is excellent for creating unique gaming experiences on servers or adding depth to your modpacks. Customize loot drops to enhance gameplay, encourage world exploration, or reward players in new ways.

Simple Integration: The mod seamlessly integrates with Cobblemon and Minecraft, making the setup and implementation of custom loot tables a simple and convenient process.

Event-Based System: The mod monitors the LOOT_DROPPED event in Cobblemon, ensuring compatibility and responsiveness within the game ecosystem.

Flexible Configuration: Define loot tables using Minecraft's standard JSON format. This opens up a wide range of possibilities - from common items to rare and legendary rewards.

Technical Details

Default Standard Behavior: The mod works in conjunction with Cobblemon's logic, not against it. If you don't define a loot table for a specific Pokémon species, the standard drop from the species' data will be used. The mod doesn't include pre-installed loot tables, giving you complete freedom to create your own or use standard settings.

Dynamic Identification: Loot tables are dynamically determined based on the Pokémon species, allowing for specific item drops for each type of Pokémon.

How to Use

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 search for its loot table in this directory using its resource identifier. For example, Pikachu will look for:

/data/droploottables/loot_tables/gameplay/pokedrops/species/pikachu.json

Creating Loot Tables: Each JSON file should follow Minecraft's standard loot table format. Here's an example loot table for 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
                            }
                        }
                    ]
                }
            ]
        }
    ]
}

Global Loot Table: You can also specify a global loot table that applies to all Pokémon regardless of species. These items will be added to the species-specific drop of the Pokémon. This file should be located at:

/data/droploottables/loot_tables/gameplay/pokedrops/all.json
Project members
tmetcalfe89

tmetcalfe89

Developer

TimInc

TimInc

Created: 11 Jul 2024

ID: 19606