Wwn_Xxy
本帖最后由 Wwn_Xxy 于 2022-6-25 06:06 编辑

有咩有大佬会编辑1.16.5傻瓜式农贸市场Farming for Blockheads 新建买卖交易文档的啊?要求:出售火药、金锭、钻石。火药价格铁锭X1、金锭价格铁锭X3、钻石价格铁锭X5  这样的一个格式 。
弄好了 可以吧文档用网盘 留言发我 就行。 如果不明白的可以问我

MEMZJJY
MarketRegistry.json.txt (674 Bytes, 下载次数: 1)
去掉txt后缀,放到config\farmingforblockheads文件夹里面



Wwn_Xxy
本帖最后由 Wwn_Xxy 于 2022-6-25 17:44 编辑
MEMZJJY 发表于 2022-6-25 10:57
去掉txt后缀,放到config\farmingforblockheads文件夹里面

哦哦谢谢,如果我想把交易的货币换成其他模组里面的某个物品 怎么设置呀?
还有怎么把默认的 种子和树苗交易隐藏或者覆盖删除呢?

MEMZJJY
Wwn_Xxy 发表于 2022-6-25 17:35
哦哦谢谢,如果我想把交易的货币换成其他模组里面的某个物品 怎么设置呀?
还有怎么把默认的 种子和树苗交 ...

意思是把自带交易全部删除,然后新建一个分类,存放自定义交易?

Wwn_Xxy
MEMZJJY 发表于 2022-6-25 17:55
意思是把自带交易全部删除,然后新建一个分类,存放自定义交易?

嗯,是的大佬不要模组自带的这些分类。

Wwn_Xxy
MEMZJJY 发表于 2022-6-25 17:55
意思是把自带交易全部删除,然后新建一个分类,存放自定义交易?

大佬你文档可以新建一个交易分类,里面包括 火药、黄金、钻石。然后交易货币用 一个其他模组里面的物品代替 用这样举例方式做个文档 我看看 是什么结构的

Wwn_Xxy
MEMZJJY 发表于 2022-6-25 17:55
意思是把自带交易全部删除,然后新建一个分类,存放自定义交易?

或者有没有1.16.5 适合整合包 作商人的 供玩家 可以交易 一些 物品的  模组呢

MEMZJJY
本帖最后由 MEMZJJY 于 2022-6-25 18:14 编辑
  1. {
  2.   "groupOverrides": {
  3.     "Vanilla Seeds": {
  4.       "enabled": false
  5.     },
  6.     "Vanilla Saplings": {
  7.       "enabled": false
  8.     },
  9.     "BiomesOPlenty Flowers": {
  10.       "enabled": false
  11.     },
  12.     "BiomesOPlenty Saplings": {
  13.       "enabled": false
  14.     },
  15.     "Pam's HarvestCraft 2 Crops Seeds": {
  16.       "enabled": false
  17.     },
  18.     "Pam's HarvestCraft 2 Trees Saplings": {
  19.       "enabled": false
  20.     },
  21.     "SimpleFarming Saplings": {
  22.       "enabled": false
  23.     },
  24.     "SimpleFarming Seeds": {
  25.       "enabled": false
  26.     },
  27.     "Animal Eggs": {
  28.       "enabled": false
  29.     },
  30.     "Bone Meal": {
  31.       "enabled": false
  32.     },
  33.     "Vanilla Flowers": {
  34.       "enabled": false
  35.     },
  36.     "Vanilla Mushrooms": {
  37.       "enabled": false
  38.     }
  39.   },
  40.   "customCategories": {
  41.     "custom": {
  42.       "name": "这里写分类的名字",
  43.       "icon": {
  44.         "item": "minecraft:tnt"
  45.       }
  46.     }
  47.   },
  48.   "customEntries": [
  49.     {
  50.       "output": {
  51.         "item": "minecraft:gunpowder"
  52.       },
  53.       "payment": {
  54.         "item": "minecraft:iron_ingot"
  55.       },
  56.       "category": "custom"
  57.     },
  58.     {
  59.       "output": {
  60.         "item": "minecraft:gold_ingot"
  61.       },
  62.       "payment": {
  63.         "item": "minecraft:iron_ingot",
  64.         "count": 3
  65.       },
  66.       "category": "custom"
  67.     },
  68.     {
  69.       "output": {
  70.         "item": "minecraft:diamond"
  71.       },
  72.       "payment": {
  73.         "item": "minecraft:iron_ingot",
  74.         "count": 5
  75.       },
  76.       "category": "custom"
  77.     }
  78.   ]
  79. }
复制代码
"icon": {
"item": "minecraft:tnt"
}

这里的minecraft:tnt是分类的图标,可以改成其他模组物品的id
customEntries
里面最尾加上
  1.     {
  2.       "output": {
  3.         "item": "得到的物品id",
  4.         "count": 得到物品的数量(无双引号)
  5.       },
  6.       "payment": {
  7.         "item": "货币id",
  8.         "count": 货币数量(无双引号)
  9.       },
  10.       "category": "custom"
  11.     }
复制代码
比如加之前是
  1. {
  2.   "groupOverrides": {
  3.     "Vanilla Seeds": {
  4.       "enabled": false
  5.     },
  6.     "Vanilla Saplings": {
  7.       "enabled": false
  8.     },
  9.     "BiomesOPlenty Flowers": {
  10.       "enabled": false
  11.     },
  12.     "BiomesOPlenty Saplings": {
  13.       "enabled": false
  14.     },
  15.     "Pam's HarvestCraft 2 Crops Seeds": {
  16.       "enabled": false
  17.     },
  18.     "Pam's HarvestCraft 2 Trees Saplings": {
  19.       "enabled": false
  20.     },
  21.     "SimpleFarming Saplings": {
  22.       "enabled": false
  23.     },
  24.     "SimpleFarming Seeds": {
  25.       "enabled": false
  26.     },
  27.     "Animal Eggs": {
  28.       "enabled": false
  29.     },
  30.     "Bone Meal": {
  31.       "enabled": false
  32.     },
  33.     "Vanilla Flowers": {
  34.       "enabled": false
  35.     },
  36.     "Vanilla Mushrooms": {
  37.       "enabled": false
  38.     }
  39.   },
  40.   "customCategories": {
  41.     "custom": {
  42.       "name": "这里写分类的名字",
  43.       "icon": {
  44.         "item": "minecraft:tnt"
  45.       }
  46.     }
  47.   },
  48.   "customEntries": [
  49.     {
  50.       "output": {
  51.         "item": "minecraft:gunpowder"
  52.       },
  53.       "payment": {
  54.         "item": "minecraft:iron_ingot"
  55.       },
  56.       "category": "custom"
  57.     },
  58.     {
  59.       "output": {
  60.         "item": "minecraft:gold_ingot"
  61.       },
  62.       "payment": {
  63.         "item": "minecraft:iron_ingot",
  64.         "count": 3
  65.       },
  66.       "category": "custom"
  67.     }
  68.   ]
  69. }
复制代码
加后是
  1. {
  2.   "groupOverrides": {
  3.     "Vanilla Seeds": {
  4.       "enabled": false
  5.     },
  6.     "Vanilla Saplings": {
  7.       "enabled": false
  8.     },
  9.     "BiomesOPlenty Flowers": {
  10.       "enabled": false
  11.     },
  12.     "BiomesOPlenty Saplings": {
  13.       "enabled": false
  14.     },
  15.     "Pam's HarvestCraft 2 Crops Seeds": {
  16.       "enabled": false
  17.     },
  18.     "Pam's HarvestCraft 2 Trees Saplings": {
  19.       "enabled": false
  20.     },
  21.     "SimpleFarming Saplings": {
  22.       "enabled": false
  23.     },
  24.     "SimpleFarming Seeds": {
  25.       "enabled": false
  26.     },
  27.     "Animal Eggs": {
  28.       "enabled": false
  29.     },
  30.     "Bone Meal": {
  31.       "enabled": false
  32.     },
  33.     "Vanilla Flowers": {
  34.       "enabled": false
  35.     },
  36.     "Vanilla Mushrooms": {
  37.       "enabled": false
  38.     }
  39.   },
  40.   "customCategories": {
  41.     "custom": {
  42.       "name": "这里写分类的名字",
  43.       "icon": {
  44.         "item": "minecraft:tnt"
  45.       }
  46.     }
  47.   },
  48.   "customEntries": [
  49.     {
  50.       "output": {
  51.         "item": "minecraft:gunpowder"
  52.       },
  53.       "payment": {
  54.         "item": "minecraft:iron_ingot"
  55.       },
  56.       "category": "custom"
  57.     },
  58.     {
  59.       "output": {
  60.         "item": "minecraft:gold_ingot"
  61.       },
  62.       "payment": {
  63.         "item": "minecraft:iron_ingot",
  64.         "count": 3
  65.       },
  66.       "category": "custom"
  67.     },
  68.     {
  69.       "output": {
  70.         "item": "得到的物品id",
  71.         "count": 得到物品的数量(无双引号)
  72.       },
  73.       "payment": {
  74.         "item": "货币id",
  75.         "count": 货币数量(无双引号)
  76.       },
  77.       "category": "custom"
  78.     }
  79.   ]
  80. }
复制代码
必须要确保json格式正确,可以用json.cn来看json格式对不对



补充,第1个代码是要粘贴进json里面的,在第1个上面改,后边是示范用

Wwn_Xxy
MEMZJJY 发表于 2022-6-25 18:12
"icon": {
"item": "minecraft:tnt"
}

好,谢谢大佬

gllog
思.....................