Bukkit.createWorld() Does not respect the generatorSettings in the WorldCreator object

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • This server is running CraftBukkit version git-Spigot-c3a49df-2f18108 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
    • Yes

      Creating a world with defined generatorSettings in the WorldCreator object does not affect the outcome of the world. This did not occur in 1.15.2.

      It could be a problem with the properties settings when creating a world, or it could have to do with the JSON itself has changed and the docs have not updated. That's just my speculation though.

          WorldCreator creator = new WorldCreator("test");
          creator.type(Objects.requireNonNull(WorldType.valueOf("FLAT")));
          creator.generatorSettings("{\"layers\": [{\"block\": \"air\",\"height\": 1}],\"biome\": \"plains\"}");
          Bukkit.createWorld(creator);
      

       

            Assignee:
            Unassigned
            Reporter:
            Martoph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: