Skip to content

CobbleDollars ​

CobbleDollars is optional: the mod does not need it and uses none of its code. Its merchants can still sell booster packs through CobbleDollars' own shop config. Tested with CobbleDollars 2.0.0+Beta-6.1 for 1.21.1.

Adding packs to the shop ​

Add this category to the list in config/cobbledollars/default_shop.json:

json
{
  "name": "Cobblemon TCG",
  "offers": [
    {
      "item": "cobblemontcg:booster_pack",
      "price": "2500",
      "components": {
        "cobblemontcg:booster_pack": { "set": "cobblemontcg:base1", "variant": "charizard" },
        "minecraft:custom_model_data": 1000
      }
    }
  ]
}

The cobblemontcg:booster_pack component is required: a pack without it does not open. variant is the wrapper, and custom_model_data picks its texture. They have to match:

Setsetvariant → custom_model_data
Base Setcobblemontcg:base1charizard 1000, blastoise 1001, venusaur 1002
Junglecobblemontcg:base2scyther 2000, wigglytuff 2001, flareon 2002

Add one offer per wrapper to sell them all. For a datapack set, custom_model_data is the set's model_data_base plus the wrapper's position in its wrappers list (starting at 0).

Released under the CC0-1.0 License. Unofficial fan project, not affiliated with Nintendo, The Pokémon Company, Game Freak or Creatures Inc.