Replacing a ungenerated area

Discussion in 'Plugin Development' started by libraryaddict, Jan 30, 2013.

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

    libraryaddict

    I have a plot of land which needs to be automagically turned into a area. Mainly a flat area which is covered by grass.

    However I'm getting problems such as trees, grass, pumpkins still generating in the area when I visit it. All natural land generation.

    I tried loading the area with

    Code:java
    1. if (!b.getChunk().isLoaded())
    2. b.getChunk().load(true);


    But the same problem occurs. I'm also delaying setting the whole area to air for 10 ticks after loading their chunks.

    Further information.

    The plot of land is the spawnpoint of a new world which I've just created and loaded.

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

Share This Page