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

Worldgen data packs don't work on servers at first launch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w42a
    • 1.18, 1.18.1 Release Candidate 1, 1.18.1 Release Candidate 2, 1.18.1, 22w03a, 22w05a, 1.18.2 Pre-release 2, 1.18.2 Release Candidate 1, 1.18.2, 22w18a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19 Release Candidate 1, 1.19 Release Candidate 2, 1.19, 22w24a
    • None
    • Confirmed
    • Custom Worlds, Data Packs, Dedicated Server
    • Important

      Datapacks which overwrites the default world generation do not work on servers. If you put the datapack in the world/datapacks/ folder before the server is started and the world is generated, it will not generate the specified biomes, which are specified in the datapack. After stopping the server, deleting all region files (world/region/*) and starting the server again the correct world generation is used. This can't be intedend, if this is the only way to load a worldgen-datapack on a server.

       

      Steps to Reproduce:

      1. Place the server.jar in an empty folder.
      2. Create the folders /world/datapacks/.
      3. Place the testpack.zip inside the datapacks folder.
      4. Accept Eula and start the server.
      5. Join the server.

      Observed Results:

      The server generates a normal world ignoring the worldgen settings of the datapack. After stopping the server, deleting all the regions files and starting the server again the world is generating as defined in the datapack.

       

      Expected Results:

      The server should generate the world respecting all worldgen settings from the datapack (like it works in singleplayer).

       

      Notes:

      The testpack.zip generates a world with a testbiome, which is a copy of the plains biome, but with red skylight.

            boq [Mojang] Bartosz Bok
            MrKinau MrKinau
            Votes:
            30 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: