[LE SOLVED] World Generation Help

Discussion in 'Plugin Development' started by PandazNWafflez, Jul 7, 2012.

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

    PandazNWafflez

    Basically, what I currently want to do, is add a populator that simply adds generation of a few more ores, however I do not want to create a whole generator for this, it simply needs to add ores to the default generator. How do I do this?

    FYI I am using SpoutPlugin for ores and have no problem doing that part.
     
  2. Offline

    ferrybig

    you can use an BlockPopualtor and the function world.addPopulator() to register it
     
  3. Offline

    PandazNWafflez

    thanks!

    ferrybig There is no addPopulator method in org.bukkit.World

    EDIT: Would getPopulators().add(pop) work? I'm not sure how list getters work in Java

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  4. Offline

    ferrybig

    jest it should work
     
Thread Status:
Not open for further replies.

Share This Page