Editing default generator

Discussion in 'Plugin Development' started by StefanXX, May 16, 2015.

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

    StefanXX

    How would I go by removing specific blocks from the default generator, say i don't want grass in any new created chunks, I already tried to remove onChunkLoad and if the chunks are new then remove.. etc, but it won't remove because it's waiting for my code to do anything else, so I added to a list all the chunks that are new and then made a scheduler that checks on them later and removes the blocks, but this process seems to be using a lot of ram and a lot of cpu
     
  2. Offline

    mythbusterma

    @StefanXX

    That does sound like it would waste quite a bit of RAM. You really should make your own ChunkGenerator if you want to do something like this.
     
    timtower likes this.
  3. Offline

    StefanXX

    I made a BlockPopulator, turned out to be a lot more efficient.
    requesting thread lock.
     
  4. Offline

    timtower Administrator Administrator Moderator

    Locked on request
     
Thread Status:
Not open for further replies.

Share This Page