Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Incubator Q&A

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.

Comments on How to fix corrupted world data after increasing the world height with a datapack?

Parent

How to fix corrupted world data after increasing the world height with a datapack? Question

+1
−1

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.

Screenshot from Minecraft showing how maps are rendering incorrectly

What has gone wrong here, and how do I fix it?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+0
−0

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.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Show more
Why two "y"s?
trichoplax‭ wrote 3 months ago

I don't know Minecraft so I don't know if this is a mistake or not, but it looks strange to me:

The letter "y" is used in both "y level of that block" and "that [x, y] coordinate", the first sounding like a vertical height, and the second sounding like a horizontal position. Are both labels correct? Is this something that would be obviously correct to a Minecraft user, or is it worth mentioning something about?

Thanks, that was a mistake. Fixed now.