Skip to content

Loot & Loot Tables

necro50n3 edited this page Apr 2, 2026 · 10 revisions

Loot

Loot from raids can be broken up into 2 loot tables.

Tiered Loot Tables

Each tier has its own specific loot table and is where the main loot comes from. For example, a Tier 5 raid will pull items from the tier_5 loot table.

Boss-Specific Loot Tables

When creating a raid boss, you have the option to set a specific loot table for the boss which is added onto the tiered loot table. The naming convention and location is up to you, but the official addons for Mega, Legendary and Mythicals are located at "cobblemonraiddens:raid/boss/name".

In addition, you can also define whether this loot table will replace the raid pouch loot entirely by instead defining the loot table as:

{
    ...
    "loot_table": {
        "replace": true,
        "id": "cobblemonraiddens:raid/boss/name"     // or whatever the loot table is named.
    }
    ...
}

Loot Tables

The loot table locations can be found here.
data/cobblemonraiddens/loot_table/
└── raid/
    ├── boss/
    │   └── ...
    ├── tier/
    │   ├── tier_one.json
    │   ├── tier_two.json
    │   ├── tier_three.json
    │   ├── tier_four.json
    │   ├── tier_five.json
    │   ├── tier_six.json
    │   └── tier_seven.json

Loot Functions

There are three custom loot functions you can use for specific items.

Gem Function

Gem Function Format
{
  "type": "minecraft:item",
  "functions": [
    {
      "function": "cobblemonraiddens:gem_type_function"
    }
  ],
  "name": "minecraft:air"
}
The gem function will return one of the corresponding type gem for the raid type, or a random gem type for stellar raids.

Tera Shard Function

Tera Shard Function Format
{
  "type": "minecraft:item",
  "functions": [
    {
      "function": "cobblemonraiddens:tera_shards_function"
    }
  ],
  "name": "minecraft:air"
}
The tera shard function will return one of the corresponding type tera shard for the raid type. If Mega Showdown is not installed this will not give any items.

Max Mushroom Function

Max Mushroom Function Format
{
  "type": "minecraft:item",
  "functions": [
    {
      "function": "cobblemonraiddens:max_mushrooms_function"
    }
  ],
  "name": "minecraft:air"
}
The max mushroom function is functionally identical to a max mushroom if Mega Showdown is installed. However, if MSD is not installed this will just not give any items instead of breaking the entire loot table.

Loot Conditions

Raid Pouch Loot Condition

When defining loot tables, you can include the cobblemonraiddens:raid_pouch_condition loot condition to the loot pool or loot entry for extra customisation or fine tuning to the raid's feature, tier or type.

Bonus Loot Condition

Raid pouches can also include additional rewards using the cobblemonraiddens:bonus_loot_condition loot condition, which will only apply if a player fails the catch roll of the raid boss. This is NOT applied when the player misses out due to losing the max_catches roll or failing to meet the damage threshold.

Adding a Condition

How to add a condition.
{
  "pools": [
    {
      "bonus_rolls": 0.0,
      "conditions": [                                               // condition applied to the entire loot pool
        {
          "condition": "cobblemonraiddens:raid_pouch_condition",
          "feature": "DYNAMAX",                                     // all fields are optional
          "tier": "TIER_FIVE",
          "type": "FIRE"
        },
        {
          "condition": "cobblemonraiddens:bonus_loot_condition",
          "apply": true
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "add": false,
              "count": 1.0,
              "function": "minecraft:set_count"
            }
          ],
          "conditions": [                                               // condition applied to the specific loot entry
            {
              "condition": "cobblemonraiddens:raid_pouch_condition",
              "feature": "DYNAMAX",
              "tier": "TIER_FIVE",
              "type": "FIRE"
            }
          ],
          "name": "cobblemon:fire_gem"
        }
      ],
      "rolls": 1.0
    }
  ]
}

Clone this wiki locally