Worldgen data packs don't work on servers at first launch
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:
- Place the server.jar in an empty folder.
- Create the folders /world/datapacks/.
- Place the testpack.zip inside the datapacks folder.
- Accept Eula and start the server.
- 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.
Linked Issues
Created Issue:
Worldgen datapacks dont work on servers
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:
- Place the server.jar in an empty folder.
- Create the folders /world/datapacks/.
- Place the testpack.zip inside the datapacks folder.
- Accept Eula and start the server.
- 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.
Environment
Linux
Worldgen datapacks don't work on servers
Worldgen data packs don't work on servers
is duplicated by
Linux
Worldgen data packs don't work on servers at first launch
Thank you for your report!
We're tracking this issue in MC-243458, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Cannot repeat on 1.18.2
Can confirm in 1.18.2 and 22w18a
It seems like this is caused by the game loading in safe mode when level.dat file is missing.