COFH World Generation User's Manual

RenzosNips

New Member
Jul 29, 2019
199
-1
0
Has anyone had any success with the Geode generator type? I keep getting crashes on world gen with it. Using the documentation here , I'm fairly certain I'm using all the correct arguments.

Code:
   "Ruby":{
      "template":{
         "type":"uniform",
         "generator":"geode",
         "crust":{
            "name":"chisel:cobblestone",
            "metadata":10
         }
      },
      "block":"ProjRed|Exploration:projectred.exploration.ore",
      "material":"minecraft:stone",
      "clusterSize":8,
      "numClusters":6,
      "minHeight":0,
      "maxHeight":64,
      "retrogen":"true",
      "biomeRestriction":"none",
      "biomes":[

      ]
   },
 

Berserker66

New Member
Jul 29, 2019
9
0
0
So, something that's not covered in the guide; if I put "new" ores in, like galacticraft material and another mod's ore, to make proper looking ores on other planets. The real question is, if I put that config into the server, does it also work completely for the client, or do I need to have all players download and install that config file?
 

Robijnvogel

Well-Known Member
May 8, 2013
533
421
89
So, something that's not covered in the guide; if I put "new" ores in, like galacticraft material and another mod's ore, to make proper looking ores on other planets. The real question is, if I put that config into the server, does it also work completely for the client, or do I need to have all players download and install that config file?

It is the server that generates the world, spawns mobs, makes plants grow, changes the weather, etc. The clients can only see what the server sends them. What the client does is basically just decoding the messages from the server and turn them into sound and/or image and encrypt your keyboard and mouse input and send it to the server. The client doesn't care how the server world generates. It just lets the server do its thing, and asks for information on how the world looks.

So yes, it will work completely for the clients (as long as they have the mods that those blocks are from installed of course).
 

Robijnvogel

Well-Known Member
May 8, 2013
533
421
89
Has anyone had any success with the Geode generator type? I keep getting crashes on world gen with it. Using the documentation here , I'm fairly certain I'm using all the correct arguments.

Code:
   "Ruby":{
      "template":{
         "type":"uniform",
         "generator":"geode",
         "crust":{
            "name":"chisel:cobblestone",
            "metadata":10
         }
      },
      "block":"ProjRed|Exploration:projectred.exploration.ore",
      "material":"minecraft:stone",
      "clusterSize":8,
      "numClusters":6,
      "minHeight":0,
      "maxHeight":64,
      "retrogen":"true",
      "biomeRestriction":"none",
      "biomes":[

      ]
   },

I quote from your guide: "This generator does not use the clusterSize value in entries."
 

Celestialphoenix

Too Much Free Time
Nov 9, 2012
3,741
3,204
333
Tartarus.. I mean at work. Same thing really.
Could someone post a working example of the geode and plate generators please?
Having a piece to compare to makes spotting my own PEBCAK a lot easier :p

Try as I might I can't get this to work. Also tried it with iron_ore and gold_ore in case I got the block name wrong.
Code:
"GranitePluton": {
        "template": {
            "type": "normal",  
            "generator": "geode",
            "crust": "GeoStrata:geostrata_rock_hornfels_smooth",
            "hollow": "true",
            "filler": "GeoStrata:geostrata_rock_granite_smooth",
            },
        "material": "minecraft:stone",
        "chunkchance": 3,
        "numClusters": 1,
        "meanHeight": 16,
        "maxVariance": 16,
        "retrogen": "true",
        "biomeRestriction": "none",
        "biomes": [],
        "dimensionRestriction": "blacklist",
        "dimensions": [
            -1,
            1
        ]
    },
  
  
"BasaltSill": {
        "template": {
            "type": "normal", 
            "generator": "plate",
            "sizeVariance": 5,
            "height": 5,
            "slim": "false",
            },
        "block": "GeoStrata:geostrata_rock_basalt_smooth",
        "material": "minecraft:stone",
        "clusterSize": 40,
        "chunkchance": 20,
        "numClusters": 1,
        "meanHeight": 16,
        "maxVariance": 16,
        "retrogen": "true",
        "biomeRestriction": "none",
        "biomes": [],
        "dimensionRestriction": "blacklist",
        "dimensions": [
            -1,
            1
        ]
       },
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
I can help with the Plate:

Code:
  "BlastGlass": {
  "template": {"type": "surface", "generator": "plate"},
  "block": "customitems:blast_glass",
  "material": [
  "customitems:wasteland_dirt",
  "customitems:wasteland_sand",
  "customitems:wasteland_stone"
  ],
  "clusterSize": 7,
  "numClusters": 2,
  "minHeight": 40,
  "chunkChance": 10,
  "maxHeight": 96,
  "retrogen": "true",
  "biomeRestriction": "none",
  "biomes": [],
  "dimensionRestriction": "whitelist",
  "dimensions": [
  0
  ]
  },
 
  • Like
Reactions: Celestialphoenix
W

welchdrew

Guest
Hey, I was trying to make it so some custom ores generate in the aether from aether II, I set the custom ores up using Tabula Rasa and even set up their recipes with Minetweaker. I am just trying to get the ores to appear in the aether but I am having trouble.

Here is an example of one of the ores I am trying to add to the aether, I am sure I made several errors.

Aether is Dimension 3 for me, and Aether Dungeons(where sometimes standard aether ores like zanite spawn in) is Dimension 4.

Code:
"aetheriron": {
  "template": "uniform",
  "block": {"name": "TabulaRasa:RasaBlock0", "metadata": 6},
     "material": "aether:holystone:1",
  "clusterSize": 8,
  "numClusters": 3,
     "minHeight": 1,
  "maxHeight": 256,
  "retrogen": "true",
  "biomeRestriction": "none",
  "biomes": [],
  "dimensionRestriction": "whitelist",
  "dimensions": [
  3,
       4
  ]
  },

any help?
 

Robijnvogel

Well-Known Member
May 8, 2013
533
421
89
Hey, I was trying to make it so some custom ores generate in the aether from aether II, I set the custom ores up using Tabula Rasa and even set up their recipes with Minetweaker. I am just trying to get the ores to appear in the aether but I am having trouble.

Here is an example of one of the ores I am trying to add to the aether, I am sure I made several errors.

[snip]

any help?

On its own, that particular ore seems to be in correct Json format.
Does it say in your startup logs that there are mistakes in your oregen file?
If so, maybe you forgot to add or remove a comma somewhere else? (The log should contain the line number of the first mistake as well.)

One thing I'd like to point out though, is that this script is going to select three random points in each chunk between y = 1 and y = 256 and only if there is aether:holystone there, it will generate a vein of your TabulaRasa aetheriron there. Because Aether consists of floating islands, this setting is going to misfire... a lot. If you want the settings to be more effective, you should narrow the max and min height down to whatever height the floating islands are actually at and/or increase the number of clusters the world generator should try to generate in a chunk.
 
  • Like
Reactions: welchdrew
W

welchdrew

Guest
On its own, that particular ore seems to be in correct Json format.
Does it say in your startup logs that there are mistakes in your oregen file?
If so, maybe you forgot to add or remove a comma somewhere else? (The log should contain the line number of the first mistake as well.)

One thing I'd like to point out though, is that this script is going to select three random points in each chunk between y = 1 and y = 256 and only if there is aether:holystone there, it will generate a vein of your TabulaRasa aetheriron there. Because Aether consists of floating islands, this setting is going to misfire... a lot. If you want the settings to be more effective, you should narrow the max and min height down to whatever height the floating islands are actually at and/or increase the number of clusters the world generator should try to generate in a chunk.
Thanks! I managed to get the ores to work! I changed the minimum layer to 16 and the maximum later to 70, I also set numClusters to 4x its old value.

I also had to change Aether:Holystone:1 to Aether:Holystone

An image to show its working!
20160723155640_1.jpg


In the image there is Aether Coal, Aether Salt, Aether Copper and Aether Lapis. :)
 
G

g_squidman

Guest
Can I set this to spawn ore at a rate less than once per chunk?

The numClusters value is an integer type and is equal to how many clusters spawn in each chunk. That means I can't set "numClusters": "0.1" right?
 

Robijnvogel

Well-Known Member
May 8, 2013
533
421
89
Can I set this to spawn ore at a rate less than once per chunk?
The numClusters value is an integer type and is equal to how many clusters spawn in each chunk. That means I can't set "numClusters": "0.1" right?

Exactly. However there are some tricks you could use to diminish the number of clusters in a chunk.
If you don't mind them generating on any height, you could set the height limits to min 1 and max 256, which would make about 75% of the clusters end up in the sky and therefore not generate.
Another thing you could do to severely diminish the generation of an ore is to let it generate solely in dirt and/or gravel, because there's a lot less of that than stone, clusters will misfire a lot, like the previous trick, but not in the air, but in stone.

My English is starting to fail. Should sleep.
 
  • Like
Reactions: g_squidman
G

g_squidman

Guest
Exactly. However there are some tricks you could use to diminish the number of clusters in a chunk.
If you don't mind them generating on any height, you could set the height limits to min 1 and max 256, which would make about 75% of the clusters end up in the sky and therefore not generate.
Another thing you could do to severely diminish the generation of an ore is to let it generate solely in dirt and/or gravel, because there's a lot less of that than stone, clusters will misfire a lot, like the previous trick, but not in the air, but in stone.

My English is starting to fail. Should sleep.

I see. You mean by changing the material that the ore can spawn in on line 6... That's brilliant! Thanks! I guess I could take it even further and have gravel, or whatever I spawn the ore inside, only spawn so much in each chunk. I could control it even further that way, although it would take some testing.
 

Larky2k

New Member
Jul 29, 2019
2
0
0
Hey,
what am i doing wrong with this template.
"poordeposits": {
"enabled": true,
"template": {"type": "underfluid", "generator": "cluster", "genFluid": "minecraft:water"},
"block": [
{"name": "Railcraft:tile.railcraft.ore", "metadata": 7, "weight": 40},
{"name": "Railcraft:tile.railcraft.ore", "metadata": 8, "weight": 20},
{"name": "Railcraft:tile.railcraft.ore", "metadata": 9, "weight": 20},
{"name": "Railcraft:tile.railcraft.ore", "metadata": 10, "weight": 20}
],
"material": [
"minecraft:grass", "minecraft:dirt", "minecraft:gravel", "minecraft:sand"
],
"clusterSize": 10,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
},
What Im trying to do is have Railcraft poor ore deposits to generate on riverbeds and ocean beds and it doesn't work any ideas?
 

Robijnvogel

Well-Known Member
May 8, 2013
533
421
89
Hey,
what am i doing wrong with this template.
Code:
"poordeposits": {
        "enabled": true,
         "template": {"type": "underfluid", "generator": "cluster", "genFluid": "minecraft:water"},
        "block": [
            {"name": "Railcraft:tile.railcraft.ore", "metadata": 7, "weight": 40},
            {"name": "Railcraft:tile.railcraft.ore", "metadata": 8, "weight": 20},
            {"name": "Railcraft:tile.railcraft.ore", "metadata": 9, "weight": 20},
            {"name": "Railcraft:tile.railcraft.ore", "metadata": 10, "weight": 20}
        ],
        "material": [
        "minecraft:grass", "minecraft:dirt", "minecraft:gravel", "minecraft:sand"
        ],
        "clusterSize": 10,
        "retrogen": "true",
        "biomeRestriction": "none",
        "biomes": [],
        "dimensionRestriction": "blacklist",
        "dimensions": [
            -1,
            1
        ]
    },
What Im trying to do is have Railcraft poor ore deposits to generate on riverbeds and ocean beds and it doesn't work any ideas?

The generator you're specifying in the template is the default, so you could remove that.
And I think the actual problem here is that you haven't specified a genweight. How many clusters do you want the generator to try to generate per chunk?
You do this with "numClusters"
I made this to generate salt deposits everywhere a long time ago:
Code:
"MekanismSalt": {
        "template": "underwater",
        "block": "Mekanism:SaltBlock",
        "material": [
            "minecraft:sand",
            "minecraft:gravel"
        ],
        "clusterSize": 3,
        "numClusters": 1,
        "height": 3,
        "slim": "true",
        "retrogen": "true",
        "biomeRestriction": "blacklist",
        "biomes": [],
        "dimensionRestriction": "blacklist",
        "dimensions": [
            -1,
            1
        ]
    },
Note: underfluid uses the cluster generator by default. clusterSize determines the maximum number of ores per cluster.
underwater uses the plate generator by default. clusterSize determines the radius of the circular plate. height determines the thickness of the plate.
 

Larky2k

New Member
Jul 29, 2019
2
0
0
Iv been playing around with it, copied what you did nothing. This is what my .json file looks like
{
"coppermotherload": {
"enabled": true,
"template": {"type": "fractal", "generator": "large-vein", "sparse": false},
"block": [
{"name": "ThermalFoundation:Ore", "weight": 40},
{"name": "Forestry:resources", "metadata": 1, "weight": 20},
{"name": "Mekanism:OreBlock", "metadata": 1, "weight": 20},
{"name": "TConstruct:SearedBrick", "metadata": 3, "weight": 20}
],
"material": "minecraft:stone",
"clusterSize": 50,
"numClusters": 120,
"chunkChance": 350,
"minHeight": 20,
"veinHeight": 40,
"veinDiameter": 48,
"verticalDensity": 15,
"horizontalDensity": 15,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
},
"tinmotherload": {
"enabled": true,
"template": {"type": "fractal", "generator": "large-vein", "sparse": false},
"block": [
{"name": "ThermalFoundation:Ore", "metadata": 1, "weight": 40},
{"name": "Forestry:resources", "metadata": 2, "weight": 20},
{"name": "Mekanism:OreBlock", "metadata": 2, "weight": 20},
{"name": "TConstruct:SearedBrick", "metadata": 4, "weight": 20}
],
"material": "minecraft:stone",
"clusterSize": 50,
"numClusters": 120,
"chunkChance": 350,
"minHeight": 20,
"veinHeight": 40,
"veinDiameter": 48,
"verticalDensity": 15,
"horizontalDensity": 15,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
},
"aluleadferrmotherload": {
"enabled": true,
"template": {"type": "fractal", "generator": "large-vein", "sparse": false},
"block": [
{"name": "ThermalFoundation:Ore", "metadata": 3, "weight": 25},
{"name": "ThermalFoundation:Ore", "metadata": 4, "weight": 25},
{"name": "TConstruct:SearedBrick", "metadata": 5, "weight": 50}
],
"material": "minecraft:stone",
"clusterSize": 50,
"numClusters": 120,
"chunkChance": 350,
"minHeight": 20,
"veinHeight": 40,
"veinDiameter": 48,
"verticalDensity": 15,
"horizontalDensity": 15,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
},
"poordeposits": {
"enabled": true,
"template": "underfluid","genFluid": "minecraft:water"},
"block": [
{"name": "Railcraft:tile.railcraft.ore", "metadata": 7, "weight": 40},
{"name": "Railcraft:tile.railcraft.ore", "metadata": 8, "weight": 20},
{"name": "Railcraft:tile.railcraft.ore", "metadata": 9, "weight": 20},
{"name": "Railcraft:tile.railcraft.ore", "metadata": 10, "weight": 20}
],
"material": [
"minecraft:grass", "minecraft:dirt", "minecraft:gravel", "minecraft:sand"
],
"clusterSize": 10,
"numClusters": 1,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
},
"ironmotherload": {
"enabled": true,
"template": {"type": "fractal", "generator": "large-vein", "sparse": false},
"block": [
{"name": "minecraft:iron_ore", "weight": 90},
{"name": "Railcraft:tile.railcraft.ore", "metadata": 7, "weight": 10}
],
"material": "minecraft:stone",
"clusterSize": 50,
"numClusters": 120,
"chunkChance": 10,
"minHeight": 20,
"veinHeight": 40,
"veinDiameter": 48,
"verticalDensity": 15,
"horizontalDensity": 15,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
},
"goldmotherload": {
"enabled": true,
"template": {"type": "fractal", "generator": "large-vein", "sparse": false},
"block": [
{"name": "minecraft:gold_ore", "weight": 90},
{"name": "Railcraft:tile.railcraft.ore", "metadata": 8, "weight": 10}
],
"material": "minecraft:stone",
"clusterSize": 50,
"numClusters": 120,
"chunkChance": 350,
"minHeight": 20,
"veinHeight": 40,
"veinDiameter": 48,
"verticalDensity": 15,
"horizontalDensity": 15,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
},
"coalmotherload": {
"enabled": true,
"template": {"type": "fractal", "generator": "large-vein", "sparse": false},
"block": [
{"name": "minecraft:coal_ore", "weight": 95},
{"name": "minecraft:diamond_ore", "weight": 5}
],
"material": "minecraft:stone",
"clusterSize": 50,
"numClusters": 120,
"chunkChance": 350,
"minHeight": 20,
"veinHeight": 40,
"veinDiameter": 48,
"verticalDensity": 15,
"horizontalDensity": 15,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
},
"yellowritemotherload": {
"enabled": true,
"template": {"type": "fractal", "generator": "large-vein", "sparse": false},
"block": [
{"name": "BigReactors:YelloriteOre", "weight": 100},
],
"material": "minecraft:stone",
"clusterSize": 50,
"numClusters": 120,
"chunkChance": 5,
"minHeight": 20,
"veinHeight": 40,
"veinDiameter": 48,
"verticalDensity": 15,
"horizontalDensity": 15,
"retrogen": "true",
"biomeRestriction": "none",
"biomes": [],
"dimensionRestriction": "blacklist",
"dimensions": [
-1,
1
]
}
}
Im editing it with sublime text 3 and the names of the veins after poororedeposits are yellow. The really Large Veins work but the poor dosn't.
 
C

chezpaul

Guest
Anyone willing to share their templates please. :D
Anyone with witchery mod, forestry, ars Magica and AE2 and thaumcraft? :D

Thanks guys...
 

Robijnvogel

Well-Known Member
May 8, 2013
533
421
89
Hello and welcome back, sir. :D
I have configs for the Thaumcraft, Forestry, AM2, and AE2 mods and I really wonder what Witchery ores or sediments you'd want to configure. Right now, though, I can't access my laptop.

What you could do, is find me on Github and scourge the "Void of Magic-Tech" or "QubeSpace" repositories for those configs, or you could ping me 30+ hours from now.

Some of the configs are a bit weird though: Thaumcraft ignis infused ore only spawning in the nether, -water- only in river or ocean biomes, -air- only above y=0, -earth- in any biome but river and ocean and under y=0. Other modded ores of the same type, like Forestry- and Thermal Foundation Copper being generated together in mixed clusters and Thaumcraft Cinnabar being generated clustered in with Redstone.)

I think my configs should contain enough examples for you to build oretopia with.