Gernerate Map

Discussion in 'Plugin Development' started by ToastHelmi, Nov 9, 2013.

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

    ToastHelmi

    hey i want to gernerate chuncks in a existing map
    to do this i use this code

    Code:java
    1. for(int x = -60; x < 60 ;x++)for(int y = -50; y < 50 ;y++)
    2. {
    3. System.out.println(x+":"+y);
    4. this.getServer().getWorld("world").loadChunk(x, y, true);
    5. this.getServer().getWorld("world").unloadChunk(x, y);
    6. }


    but the bioms are not considered as you can see here

    [​IMG]
    how can i change this
     
  2. Offline

    dewdd

    regenaration ?

    you need to find code for delete chunk (and data from harddisk) and
    this.getServer().getWorld("world").loadChunk(x, y, true); again

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

Share This Page