

BBL Shops - Innovative Trading System
BBL Shops - Innovative Trading System
This modification completely transforms the trading mechanics in Minecraft, offering players a brand new approach to buying and selling items. Instead of traditional bartering, you get a fully-fledged virtual balance system.
Currency System
BBL Shops introduces three types of coins: copper, iron, and gold, with values of 1, 5, and 10 units respectively. All obtained funds automatically replenish your balance, which is displayed in the upper right corner of your inventory. In the configuration settings, you can change the denominations and values of all currencies.

Trading Mechanism
The core of the trading system is a special shop block. To activate it, you need to place a catalog in the bottom right slot - then all goods for purchase become available. A notable feature of the mod is the player balance card, which allows automating the trading process while you focus on other activities.

Flexible Configuration via Datapacks
The entire economic system is fully configurable through datapacks. Configuration examples can be found in the data/test_catalogs and data/test_selling folders.
Example purchase catalog - when a book is placed in the bottom left slot of the shop, paper and leather become available:
{
"catalogue_item": {
"id": "minecraft:book"
},
"items": [
{ "stack": { "id": "minecraft:paper", "count": 2 }, "price": 50 },
{ "stack": { "id": "minecraft:leather", "count": 1 }, "price": 200 }
]
}
Example sales list - these items can be sold to the shop:
[
{
"input": { "id": "minecraft:iron_ingot", "count": 10 },
"price": 5000
},
{
"input": { "id": "minecraft:gravel", "count": 64},
"price": 20000
},
{
"input": { "id": "minecraft:dirt", "count": 1 },
"price": 12
},
{
"input": { "id": "minecraft:obsidian", "count": 1 },
"price": 20000
},
{
"input": { "id": "minecraft:gold_ingot", "count": 1 },
"price": 12
}
]
The system supports trading item stacks and allows using custom components when necessary.