The Shop
shop_catalog/general.json is the Shop's price list, shown on screen in the order of the file:
json
{
"entries": [
{ "item": "minecraft:cookie", "buy": 1 },
{ "item": "chiikawa:whistle_candy", "buy": 1, "count": 4 },
{ "item": "minecraft:wheat", "buy": 2, "sell": 1 },
{ "item": "minecraft:potato", "sell": 1 }
]
}| Field | Meaning |
|---|---|
item | The item |
buy | Optional, how much to pay for count of it; leave it out and the Shop doesn't sell it |
sell | Optional, how much you get for selling count of it to the Shop; leave it out and the Shop doesn't buy it |
count | Optional, how many are bought or sold at a time, 1 by default; for example, 4 Whistle Candy for 1 emerald |
Prices are in the currency from the currency tag. Replacing this file replaces the whole price list, so if you want to keep the original items, remember to write them in too.
Pets only buy what the Shop sells, and only things they like. What each character likes is written in its personality file; see Personality.
