Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-134900

server.properties generator-settings for level-type FLAT not implemented; property is stored in ignored flat_world_options NBT

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3, 1.14.4, 19w38b, 19w39a, 1.15 Pre-release 6, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w06a
    • 20w11a
    • Confirmed
    • World generation

    Description

      The bug

      Generation of custom world only using the server.properties on a multi-player server for a FLAT level-type is not possible.

      When level-type is FLAT, the generator-settings is parsed into the flat_world_options json property that afaik is never used.

      Should be either parsed into this flat_world_options and code should be implemented to convert "preset" data into the appropriate json format that is being put into the generator-settings key of the level.dat or allow using the new json format in generator-settings similar to BUFFET.

      Note, that when level-type is BUFFET, the generator-settings take a json string that is directly used for the generator-settings key in the level.dat, so it works as expected.

      But for FLAT, it doesn't implements json in this new manner, and doesn't look like it is parsing the flat_world_options as the "preset" or legacy format.  Documentation is limited.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              klugemonkey David Chamberlin
              Votes:
              17 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: