Terrain generation

Discussion in 'Plugin Development' started by Megolas, Aug 19, 2012.

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

    Megolas

    Hey,
    Can anyone please explain a bit about world generation?
    I want to make a code so the world will generate as usual, but block above a certain coordinate will be air...
    Thanks
     
  2. Offline

    sd5

    The easiest way for that what you want would be to add a ChunkLoadEvent and check whether the chunk is a newly generated chunk. If yes, get all the blocks y>what-you-want and set them to air...
     
  3. Offline

    Megolas

    how do i set them to air though? Is there a terrain generation tutorial anywhere?
     
  4. Offline

    sd5

  5. Offline

    Megolas

    Thanks - is there a way to edit the default terrain though? So blocks over a certain point wont be created?

    bump?

    bump again...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
Thread Status:
Not open for further replies.

Share This Page