![CobbleDollars [Cobblemon Addon]](/_next/image?url=https%3A%2F%2Fcdn.modrinth.com%2Fdata%2Fs7N7AsqL%2F684040a264fc1d7f9b856ec5d2da39767398c7ad.png&w=256&q=75)
CobbleDollars [Cobblemon Addon]
CobbleDollars adds Money and Merchants to Cobblemon
About
This mod adds money and Merchants for Cobblemon.
Dependencies:
- Kotlin For Forge (forge & NeoForge)
- Fabric API (fabric only)
- Architectury API (1.5.2 & lower only)
- Cobblemon
If you'd like to support me, I have a Patreon <3.
How to use the mod
- To earn money you have to kill wild pokémons, you'll earn a certain amount depending on their level.
- The merchant spawns in overworld villages, just like vanilla villagers (~8%).
- Vanilla Villagers can obtain the CobbleMerchant profession with a Display Case block from Cobblemon
- The merchant follow the player if you hold a pokéball.

The Merchant Menus
The Shop
- By Right Clicking the merchant:

- You can scroll in the list, search for items, set the amount (MAX 256) and click the Buy button (you can see the total price on the right of the preview item) ! (if you don't have enough CobbleDollars the price will be red)
- You can switch between the configured tabs, each one offer different items.
The Bank
- By Shift + Right Clicking the merchant:

- You can insert any items allowed by the config in the bank inventory, the merchant will buy the items for the configured price (by default 1 Emerald = 500 CobbleDollars).
Configuration
The configuration files are located under "[Minecraft files or Server location]\config\cobbledollars"
Client
You can choose the position of the money overlay:
- top left
- top right
- bottom left
- bottom right (default)
Common
Shop
You can configure which items the merchant sells, for example:
2.X.X:
{
"defaultShop": [
{
"Poké Balls": [
{
"item": "cobblemon:poke_ball",
"price": 2000
}
]
},
{
"Items": [
{
"item": "minecraft:stick",
"price": 250000
},
{
"item": "create:cogwheel",
"price": 100
}
]
}
]
}
1.5.X:
{
"merchantShop": {
"balls": {
"cobblemon:poke_ball": 2000
},
"items": {
"minecraft:stick": 250000,
"create:cogwheel": 100
}
}
}
Before 1.5:
{
"merchantBalls": {
"cobblemon:poke_ball": 2000
},
"merchantItems": {
"minecraft:stick": 250000,
"create:cogwheel": 100
}
}
Here they will sell
- Pokéballs for 2k CobbleDollars each under the category "Balls"
- Sticks for 250k CobbleDollars each and Cogwheels from the mod Create for 100 CobbleDollars each under the category "Items"
Bank
You can configure the items accepted in the bank and for what price:
2.X.X:
{
"bank": [
{
"item": "minecraft:emerald",
"price": 500
},
{
"item": "cobblemon:red_apricorn",
"price": 2500
}
]
}
1.5.X:
{
"bankItems": {
"minecraft:emerald": 500,
"cobblemon:red_apricorn": 2500
}
}
Here the bank accept
- Emeralds for 500 CobbleDollars each
- Red Apricorns for 2.5k each
You can even put items from other mods.
Permissions
- cobbledollars
- cobbledollars.reload
- cobbledollars.leaderboard
- cobbledollars.leaderboard.update
- cobbledollars.cobbledollars
- cobbledollars.cobbledollars.give
- cobbledollars.cobbledollars.pay
- cobbledollars.cobbledollars.query
- cobbledollars.cobbledollars.remove
- cobbledollars.cobbledollars.set
- cobbledollars.cobblemerchant
- cobbledollars.cobblemerchant.edit
- cobbledollars.cobblemerchant.open
- cobbledollars.cobblemerchant.open.bank
- cobbledollars.cobblemerchant.open.shop
Versions
Changed: - Removed the `Saved CobbleDollars Accounts!` message in the console to prevent console spam. Fixed: - The shop of Vanilla Villagers with the CobbleMerchant profession now works correctly.
Added: - An option to set a limited stock on custom merchant offers (currently only in the `/cm edit [merchant uuid]` UI). - A `tag` element in the default shop & bank config - A [`components`](https://minecraft.wiki/w/Data_component_format#List_of_components) element in the default shop & bank config, example: ```json { "defaultShop": [ { "Apricorns": [ { "tag": "#cobblemon:apricorns", "price": 2000, "components": { "minecraft:rarity": "epic", "minecraft:food": { "nutrition": 3, "saturation": 1.8 } } } ] } ] } ``` Changed: - Improved the config loading system: - Incorrect items in the config will now be skipped instead of preventing the entire config from loading and defaulting to a fallback version. - Incorrect items in the config won't be replaced by `minecraft:air` when loaded. - Added precise logs to see where the errors come from - Remade the networking system so that all the logic is calculated on the server. Fixed: - A crash when the game was trying to save a merchant shop containing an empty item. - A crash when trying to connect to a server when receiving the packet `clientbound/minecraft:set_entity_data` - The logs when the bank config encountered an error was mentioning the shop config instead of the bank. - The shop when clicking on the `shop` button in the bank menu while it was accessed by `shift + clicking` on a Cobble Merchant, now contains the correct shop instead of the default config.