Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.
Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.
How to fix corrupted world data after increasing the world height with a datapack? Question
I increased the vertical height of my world yet again by lowering the min_y
and increasing the height
values in the existing datapack I've already used for 2 years, whose sole purpose is to provide me more vertical space for building. Unfortunately, after doing so, my world started exhibiting some issues. It renders just fine in vanilla, but some of the mods I use were struggling with the chunk rendering. I assumed it was a bug in the mods, so I kept on building. Only now I realized that maps are broken too, meaning my vanilla world data is likely corrupted. Unfortunately, I have now spent quite some time expanding the world further, so reverting to the backup is not really an option.
What has gone wrong here, and how do I fix it?
1 answer
I do not know why this happened, but I did figure out a solution which seems like it permanently solves it.
Whenever a block is placed in the world, the chunk updates such that the y level of that block is now considered the tallest point at that [x, z] coordinate, for maps and mods reading the height. Therefore, all that is necessary, is to cover the entire existing world with a temporary roof.
It's easiest to either use WorldEdit or the /fill
command to place and remove that roof above all the chunks.
0 comment threads