由json格式编写,放置指定的文件夹目录下面

config/cofh/world/TechgunsOreClusters.json


最多16种,从0-15


template:模板,默认就好

block:

方块名称

方块标签

meta值

clustersize生成的矿丛大小

numClusters矿丛数量

chunk Chance每个区块的生成几率

biomes生物群系

biome Restriction生物群系限制

retrogen再生能源

maxHeight最小高度

minHeight最大高度


wiki的案例代码

{

"ironcluster": {

"template": "uniform",

"block": {"name": "Techguns:oreCluster", "metadata": 0},

"clusterSize": 12,

"numClusters": 1,

"chunkChance": 8,

"minHeight": 10,

"maxHeight": 64,

"retrogen": "true",

"biomeRestriction": "none",

"biomes": [

"all"

],

"dimensionRestriction": "blacklist",

"dimensions": [

-1,

1

]

},

"goldcluster": {

"template": "uniform",

"block": {"name": "Techguns:oreCluster", "metadata": 1},

"clusterSize": 8,

"numClusters": 1,

"chunkChance": 16,

"minHeight": 5,

"maxHeight": 32,

"retrogen": "true",

"biomeRestriction": "none",

"biomes": [

"all"

],

"dimensionRestriction": "blacklist",

"dimensions": [

-1,

1

]

}

……

}