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
Wizards Black Star Promoscobblemontcg:baseppikachu 3000, mew 3001, hooh 3002
Fossilcobblemontcg:base3aerodactyl 4000, lapras 4001, gengar 4002
Base Set 2cobblemontcg:base4mewtwo 5000, gyarados 5001, ninetales 5002
Team Rocketcobblemontcg:base5dark_charizard 6000, dark_blastoise 6001, dark_dragonite 6002

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 MIT License. Unofficial fan project, not affiliated with Nintendo, The Pokémon Company, Game Freak or Creatures Inc.