Generating Ores on already generated world

Discussion in 'Plugin Development' started by dark navi, Jun 26, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    dark navi

    Hey guys, I was wondering if there was a way to randomly generate ores on already generated terrain. Right now I have it randomly generating, but I have no idea how to make the veins look natural.

    I was hoping there would be some chunk / world method to already do this.

    Thanks!
     
  2. you mean block populator or something?
     
  3. Offline

    dark navi

    Sure. I have a world with just stone on it, and I want to populate it with ores.
     
  4. Offline

    dark navi

    Really old bump. Any ideas?
     
  5. Offline

    SnowGears

    Use ChunkLoad event (this is called when chunks are refreshed also) and select a few random locations below a certain level. Then check if they are next to a stone block. If so, change the block to ore.
     
  6. Offline

    dark navi

    I ended up just writing a custom BlockPopulator and running it over the world! :) Thanks!
     
  7. Offline

    SnowGears

    Oh okay cool.
     
Thread Status:
Not open for further replies.

Share This Page