1.17.x Generate Void World

Discussion in 'Spigot Plugin Development' started by Lautje, Jul 12, 2021.

  1. How can I generate a void world?
  2. Code (Java):

    WorldCreator wc = new WorldCreator(path/to/world);
    You might also need to call World w = Bukkit.createWorld(wc), but unsure.
  3. I think it needs to be:
    Code (Java):
    wc.generatorSettings("{\"layers\": []}");
  4. My bad, my code is for 1.8.8. But if replace that, it should work
  5. the wc.createWorld(); calls the Bukkit.createWorld(wc), or in opposite im not sure. But im sure that one calls the other
    • Agree Agree x 1
  6. Thanks for all the replies.
    I'll test to see what works.
    • Agree Agree x 1