Ore Generation

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
Hello wonderfull ftb persons !

I am in the process of tweaking some things on my personal collection of mods I play on, and have a question for you all.

Is there any way to easily get a data dump of the following:

  • Ores generated and at what levels they spawn at.
  • What are considered valid spawning requirements for the ore.
  • dimension or biome specific ores/gems.

Thank you for any info you can provide on how to pecure this without digging through each mods source code.
 

VapourDrive

New Member
Jul 29, 2019
536
-8
1
NotEnoughResources: http://minecraft.curseforge.com/mc-mods/225815-notenoughresources is pretty decent. I'm not sure if it catches absolutely everything, but it's definitely cool.
For testing I always use mekanism digital miners for actual in world results, not so helpful for seeing what levels things spawn at though.
Checking out whatever cofh core oregen jsons that are in the pack you're working with isn't too difficult, I do this a lot.
 

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
NotEnoughResources: http://minecraft.curseforge.com/mc-mods/225815-notenoughresources is pretty decent. I'm not sure if it catches absolutely everything, but it's definitely cool.
For testing I always use mekanism digital miners for actual in world results, not so helpful for seeing what levels things spawn at though.
Checking out whatever cofh core oregen jsons that are in the pack you're working with isn't too difficult, I do this a lot.
Thanks for that, I will look into the nei addon.

Use a dirty mekanism in my pack? You must be crazy. ;)
 

VapourDrive

New Member
Jul 29, 2019
536
-8
1
To be completely honest I usually just have it in for the testing phase so I can use the miner, then it gets the boot.
 

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
Did not think of that.. I'll need to try.

What im trying to go is make a pore man's world where the resources are generated at a min required by each mod vs all the mods together. Harder when you get 5 copper and tin ores.

Worse when I metallurgy installed and want to use that to generate the ores and not COFH. Not that I don't like cofh, I just don't know how to right the configs for the ore Generation I want.
 

King Lemming

New Member
Jul 29, 2019
664
0
0
CoFH jsons for generation.

/cofh clearblocks to remove all the dirt, stone, whatever and get a good visual idea of what it looks like.
/cofh countblocks can count them, but I don't believe it's in any current packs just yet. Will find out and let you know.
 
  • Like
Reactions: Booker The Geek

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
The count block would be extremely usefull. Just point me at the Jenkins :)

What would be amazing is if their was a way to be able to grab the oregen in an area, say a region, and to just grab all the names of the ores/gems/etc and dump it somewhere along with max/min spawn levels. Then people (let's be honest, me) would have an easier time with modifying configs.


Hm... mods that add worldgen in my pack....
 
Last edited:

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
Ok, so I actually am a bit embarrassed to ask at this point, but I'm in need of help. I can't seem to get this to work, and am now throwing myself at the mercy of people who know better.

This is the link to my pack mod list.
https://github.com/MyM-ModpackTeam/B2B/blob/master/Credits.rst

I'm trying to unify ore generation, with ores being slightly sparse, along with making sure we have dense ore and nether ore variants. And I'm lost.

I've already read the post on how to do so but my mind can't seem to wrap around it. If somebody could point me to "cofh ore gen for idiots" that would be a blessing. Or how to get dense ores/nether ores/metallurgy to all actually interact well with each other, that also would make my life a bit less stressfull.

I'm not asking you to do it for me, I just can't seem to figure it out. That being said I've never looked a gift horse in the mouth.
 

Adagiovibe

New Member
Jul 29, 2019
132
0
0
I am in a similar position to yours (if I understood your post correctly) and found that this thread helps me greatly. I'm using it mostly to handle dimension specific spawning of ores from different mods, I haven't played around with biome restrictions or modifying clusters.

If you do decide to let CoFH handle your pack's oregen remember to disable their respective mod's generation options in their configs.
 
  • Like
Reactions: Type1Ninja

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
Just for more complete understanding, I'm trying to use metallurgy ores, disable all modded ores that have an ore-dictionary metallurgy equivalent, and use cofh to control all the ores.

I'm trying to generate the ores similar to how GT does. Most likely a hopeless cause.

Specific ores will only be allowed to spawn in specific biome / dimensions. I'm trying to set each ore to the minium required to make the pack work.

After all that, whew, I'll have to start minetweakering recipies so that we only get the one product (from AOBD2) and set recipies to use those.

Yeah for me and no sleep. And hair pulling.
 
  • Like
Reactions: Type1Ninja

Type1Ninja

New Member
Jul 29, 2019
1,393
-7
0
Just for more complete understanding, I'm trying to use metallurgy ores, disable all modded ores that have an ore-dictionary metallurgy equivalent, and use cofh to control all the ores.

I'm trying to generate the ores similar to how GT does. Most likely a hopeless cause.

Specific ores will only be allowed to spawn in specific biome / dimensions. I'm trying to set each ore to the minium required to make the pack work.

After all that, whew, I'll have to start minetweakering recipies so that we only get the one product (from AOBD2) and set recipies to use those.

Yeah for me and no sleep. And hair pulling.
I'm 90% certain all those things ARE possible.
Just promise to post the results when you're done. :D
 

Adagiovibe

New Member
Jul 29, 2019
132
0
0
Just for more complete understanding, I'm trying to use metallurgy ores, disable all modded ores that have an ore-dictionary metallurgy equivalent, and use cofh to control all the ores.

I'm trying to generate the ores similar to how GT does. Most likely a hopeless cause.

Specific ores will only be allowed to spawn in specific biome / dimensions. I'm trying to set each ore to the minium required to make the pack work.

After all that, whew, I'll have to start minetweakering recipies so that we only get the one product (from AOBD2) and set recipies to use those.

Yeah for me and no sleep. And hair pulling.

I don't see how the post is missing any of the information you're looking for then. You are pretty much doing what I am attempting to do except biome restrictions. It's fairly straightforward, hope to see your config soon so I can see what's confusing you :)
 
  • Like
Reactions: Type1Ninja

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
Ok, so this is what I have so far that is working....

Code:
{
  "dirt": {
    "template": "uniform",
    "block": "dirt",
    "clusterSize": 32,
    "numClusters": 20,
    "minHeight": 0,
    "maxHeight": 128,
    "retrogen": "false",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "gravel": {
    "template": "uniform",
    "block": "gravel",
    "clusterSize": 32,
    "numClusters": 10,
    "minHeight": 0,
    "maxHeight": 128,
    "retrogen": "false",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "coal": {
    "template": "uniform",
    "block": "coal_ore",
    "clusterSize": 16,
    "numClusters": 20,
    "minHeight": 0,
    "maxHeight": 128,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "iron": {
    "template": "uniform",
    "block": "iron_ore",
    "clusterSize": 10,
    "numClusters": 20,
    "minHeight": 0,
    "maxHeight": 64,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "gold": {
    "template": "uniform",
    "block": "gold_ore",
    "clusterSize": 8,
    "numClusters": 2,
    "minHeight": 0,
    "maxHeight": 24,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "redstone": {
    "template": "uniform",
    "block": "redstone_ore",
    "clusterSize": 9,
    "numClusters": 10,
    "minHeight": 0,
    "maxHeight": 16,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "diamond": {
    "template": "uniform",
    "block": "diamond_ore",
    "clusterSize": 7,
    "numClusters": 2,
    "minHeight": 0,
    "maxHeight": 16,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "lapis": {
    "template": "normal",
    "block": "lapis_ore",
    "clusterSize": 6,
    "numClusters": 2,
    "meanHeight": 16,
    "maxVariance": 16,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "quartz": {
    "template": "uniform",
    "block": "quartz_ore",
    "clusterSize": 13,
    "numClusters": 16,
    "minHeight": 10,
    "maxHeight": 118,
    "retrogen": "true",
    "biomeRestriction": "whitelist",
    "biomes": [
      "hell"
    ],
    "dimensionRestriction": "whitelist",
    "dimensions": [
      -1
    ]
  },
  "copper": {
    "template": "uniform",
    "block": [
      {
        "name": "Forestry:resources",
        "metadata": 1
      },
      {
        "name": "IC2:blockOreCopper",
        "metadata": 0
      },
      {
        "name": "Metallurgy:base.ore",
        "metadata": 0
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 0
      },
      {
        "name": "ProjRed|Exploration:projectred.exploration.ore",
        "metadata": 3
      },
      {
        "name": "Railcraft:ore",
        "metadata": 9
      }
    ],
    "clusterSize": 8,
    "numClusters": 10,
    "minHeight": 40,
    "maxHeight": 75,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "tin": {
    "template": "uniform",
    "block": [
      {
        "name": "ElectriCraft:electricraft_block_ore",
        "metadata": 1
      },
      {
        "name": "Forestry:resources",
        "metadata": 2
      },
      {
        "name": "IC2:blockOreTin",
        "metadata": 0
      },
      {
        "name": "Metallurgy:base.ore",
        "metadata": 1
      },
      {
        "name": "ProjRed|Exploration:projectred.exploration.ore",
        "metadata": 4
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 1
      },
      {
        "name": "Railcraft:ore",
        "metadata": 10
      }
    ],
    "clusterSize": 8,
    "numClusters": 8,
    "minHeight": 20,
    "maxHeight": 55,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "silver": {
    "template": "uniform",
    "block": [
      {
        "name": "ElectriCraft:electricraft_block_ore",
        "metadata": 2
      },
      {
        "name": "Metallurgy:precious.ore",
        "metadata": 1
      },
      {
        "name": "ProjRed|Exploration:projectred.exploration.ore",
        "metadata": 5
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 2
      },
      {
        "name": "factorization:ResourceBlock",
        "metadata": 0
      }
    ],
    "clusterSize": 8,
    "numClusters": 6,
    "minHeight": 5,
    "maxHeight": 30,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "lead": {
    "template": "uniform",
    "block": [
      {
        "name": "IC2:blockOreLead",
        "metadata": 0
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 3
      },
      {
        "name": "Railcraft:ore",
        "metadata": 11
      }
    ],
    "clusterSize": 8,
    "numClusters": 8,
    "minHeight": 10,
    "maxHeight": 35,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "nickel": {
    "template": "uniform",
    "block": [
      {
        "name": "ElectriCraft:electricraft_block_ore",
        "metadata": 3
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 4
      }
    ],
    "clusterSize": 4,
    "numClusters": 3,
    "minHeight": 5,
    "maxHeight": 20,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "platinum": {
    "template": "uniform",
    "generator": "sparse-cluster",
    "block": [
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 5
      },
      {
        "name": "Metallurgy:precious.ore",
        "metadata": 2
      },
      {
        "name": "ElectriCraft:electricraft_block_ore",
        "metadata": 5
      }
    ],
    "clusterSize": 3,
    "numClusters": 1,
    "minHeight": 5,
    "maxHeight": 30,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  }
}

My biggest issue is that I can not seem to emulate GregTech ore generation, where I am having massive veins of ores, but only 3 or 4 every region. This does work, just not with the distribution I am looking for.

F.Y.I. THIS website is amazing for helping to build out your file.
 

Adagiovibe

New Member
Jul 29, 2019
132
0
0
Ok, so this is what I have so far that is working....

Code:
{
  "dirt": {
    "template": "uniform",
    "block": "dirt",
    "clusterSize": 32,
    "numClusters": 20,
    "minHeight": 0,
    "maxHeight": 128,
    "retrogen": "false",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "gravel": {
    "template": "uniform",
    "block": "gravel",
    "clusterSize": 32,
    "numClusters": 10,
    "minHeight": 0,
    "maxHeight": 128,
    "retrogen": "false",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "coal": {
    "template": "uniform",
    "block": "coal_ore",
    "clusterSize": 16,
    "numClusters": 20,
    "minHeight": 0,
    "maxHeight": 128,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "iron": {
    "template": "uniform",
    "block": "iron_ore",
    "clusterSize": 10,
    "numClusters": 20,
    "minHeight": 0,
    "maxHeight": 64,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "gold": {
    "template": "uniform",
    "block": "gold_ore",
    "clusterSize": 8,
    "numClusters": 2,
    "minHeight": 0,
    "maxHeight": 24,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "redstone": {
    "template": "uniform",
    "block": "redstone_ore",
    "clusterSize": 9,
    "numClusters": 10,
    "minHeight": 0,
    "maxHeight": 16,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "diamond": {
    "template": "uniform",
    "block": "diamond_ore",
    "clusterSize": 7,
    "numClusters": 2,
    "minHeight": 0,
    "maxHeight": 16,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "lapis": {
    "template": "normal",
    "block": "lapis_ore",
    "clusterSize": 6,
    "numClusters": 2,
    "meanHeight": 16,
    "maxVariance": 16,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "quartz": {
    "template": "uniform",
    "block": "quartz_ore",
    "clusterSize": 13,
    "numClusters": 16,
    "minHeight": 10,
    "maxHeight": 118,
    "retrogen": "true",
    "biomeRestriction": "whitelist",
    "biomes": [
      "hell"
    ],
    "dimensionRestriction": "whitelist",
    "dimensions": [
      -1
    ]
  },
  "copper": {
    "template": "uniform",
    "block": [
      {
        "name": "Forestry:resources",
        "metadata": 1
      },
      {
        "name": "IC2:blockOreCopper",
        "metadata": 0
      },
      {
        "name": "Metallurgy:base.ore",
        "metadata": 0
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 0
      },
      {
        "name": "ProjRed|Exploration:projectred.exploration.ore",
        "metadata": 3
      },
      {
        "name": "Railcraft:ore",
        "metadata": 9
      }
    ],
    "clusterSize": 8,
    "numClusters": 10,
    "minHeight": 40,
    "maxHeight": 75,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "tin": {
    "template": "uniform",
    "block": [
      {
        "name": "ElectriCraft:electricraft_block_ore",
        "metadata": 1
      },
      {
        "name": "Forestry:resources",
        "metadata": 2
      },
      {
        "name": "IC2:blockOreTin",
        "metadata": 0
      },
      {
        "name": "Metallurgy:base.ore",
        "metadata": 1
      },
      {
        "name": "ProjRed|Exploration:projectred.exploration.ore",
        "metadata": 4
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 1
      },
      {
        "name": "Railcraft:ore",
        "metadata": 10
      }
    ],
    "clusterSize": 8,
    "numClusters": 8,
    "minHeight": 20,
    "maxHeight": 55,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "silver": {
    "template": "uniform",
    "block": [
      {
        "name": "ElectriCraft:electricraft_block_ore",
        "metadata": 2
      },
      {
        "name": "Metallurgy:precious.ore",
        "metadata": 1
      },
      {
        "name": "ProjRed|Exploration:projectred.exploration.ore",
        "metadata": 5
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 2
      },
      {
        "name": "factorization:ResourceBlock",
        "metadata": 0
      }
    ],
    "clusterSize": 8,
    "numClusters": 6,
    "minHeight": 5,
    "maxHeight": 30,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "lead": {
    "template": "uniform",
    "block": [
      {
        "name": "IC2:blockOreLead",
        "metadata": 0
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 3
      },
      {
        "name": "Railcraft:ore",
        "metadata": 11
      }
    ],
    "clusterSize": 8,
    "numClusters": 8,
    "minHeight": 10,
    "maxHeight": 35,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "nickel": {
    "template": "uniform",
    "block": [
      {
        "name": "ElectriCraft:electricraft_block_ore",
        "metadata": 3
      },
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 4
      }
    ],
    "clusterSize": 4,
    "numClusters": 3,
    "minHeight": 5,
    "maxHeight": 20,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  },
  "platinum": {
    "template": "uniform",
    "generator": "sparse-cluster",
    "block": [
      {
        "name": "ThermalFoundation:Ore",
        "metadata": 5
      },
      {
        "name": "Metallurgy:precious.ore",
        "metadata": 2
      },
      {
        "name": "ElectriCraft:electricraft_block_ore",
        "metadata": 5
      }
    ],
    "clusterSize": 3,
    "numClusters": 1,
    "minHeight": 5,
    "maxHeight": 30,
    "retrogen": "true",
    "biomeRestriction": "none",
    "biomes": [
      "all"
    ],
    "dimensionRestriction": "blacklist",
    "dimensions": [
      -1,
      1
    ]
  }
}

My biggest issue is that I can not seem to emulate GregTech ore generation, where I am having massive veins of ores, but only 3 or 4 every region. This does work, just not with the distribution I am looking for.

F.Y.I. THIS website is amazing for helping to build out your file.

Ah that would explain why you're having difficulty. You need to change the template type. I have never played with GT, so I'm not sure what kind of template you'd want to use, but maybe this can help.
 

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
Read that, and have been figuring out stuff. Mainly how to make it work.

Damn I wish mods could recognize that that another mod adds an ore, and just default all the recipies to that. Would make like so much easier.

How nice would it be for mods to go "oh, you have metallurgy installed? Let me go ahead and use their ore/ingot in my recipies for you automatically." As it is now, I still need to go through and minetweaker the everything. :(
 
  • Like
Reactions: Type1Ninja

Type1Ninja

New Member
Jul 29, 2019
1,393
-7
0
Read that, and have been figuring out stuff. Mainly how to make it work.

Damn I wish mods could recognize that that another mod adds an ore, and just default all the recipies to that. Would make like so much easier.

How nice would it be for mods to go "oh, you have metallurgy installed? Let me go ahead and use their ore/ingot in my recipies for you automatically." As it is now, I still need to go through and minetweaker the everything. :(
Doesn't the OreDict do that? Most mods use it...