Default Shop
The Default Shop config file is located in:
[Minecraft files (usually: /.minecraft)]/config/cobbledollars/default_shop.json
The base file with an empty shop
{
"defaultShop": []
}
"defaultShop" should nerver be renamed
Category
{
"defaultShop": [
{
"Category Name": []
}
]
}
"Category Name"
can be any renamed to anything and will define the name of the category
{
"defaultShop": [
{
"Category Name": []
},
{
"Other Category": []
},
{
"3rd Category": []
}
]
}
Use commas to separate the categories
The last category doesn't need a comma
Offer
Item
{
"defaultShop": [
{
"Category Name": [
{
"item": "minecraft:stick",
"price": 50
}
]
}
]
}
Tag
{
"defaultShop": [
{
"Category Name": [
{
"tag": "#minecraft:logs",
"price": 50
}
]
}
]
}
Component
{
"defaultShop": [
{
"Category Name": [
{
"item": "minecraft:stick",
"price": 50,
"components": {
"minecraft:rarity": "rare",
"minecraft:max_stack_size": 1,
"minecraft:enchantments": {
"minecraft:knockback": 10
}
}
}
]
}
]
}
Last updated