-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blocks update for 1.15 #348
Conversation
Set 0 value for block_light and sky_light if not present in section
Fix Lighting for nightlight and cave render_mode
Including biome upgrade to 1.15.1 from bemk:mc115
I was able to build and render a 1.15 map successfuly (although there are lots of warnings for outdated biomes?)
Other than that, it's looking good. I'll test with a 1.14 map we're using in a server to see if anything else breaks, but so far it looks good 👍 Great work! |
my error the map was generated in 1212 resolution and it need to be 1616 to fit with marker |
@ddoiron79 although not related with the changes on this PR, if the markers are wrongly positioned with different resolutions then it's a bug and it should have its own issue. |
Also can verify this works! Deployed alongside a minecraft server using the Docker image and it works great! Saw the same warnings, but the rendered map looks fine. |
Any chance someone can compile this for Windows. I can't seem to compile it, or don't know how for windows. I really need to map out 1.15. I really wish this was merged.. thanks for the good work |
@matthewpayne not sure if this helps, but if you're on W10 you can install Ubuntu via Windows Subsystem for Linux and follow the Linux instructions. It's worked well for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just had a look as well. Code looks good, I'm just wondering with the slight change in the world biome format if it's possible/useful to support the biome format 1.14 as well. |
Can i have a build for this pr? |
@Ghost-chu unfortunately the build system is not ready for that at the moment. Hopefully in the future. |
Think good to go then. |
The game updates chunk data as new chunks are loaded, does that map have chunks on it you generated in a previous version and haven't visited again in a newer one? You can force it to update the whole map to the latest version by starting the server up with the -forceupgrade flag. It'll load each chunk, update it, and save it. This warning might just be to let you know it's rendering chunks that are still using the old format, if you're not seeing anything visually wrong with them. I wouldn't know, but given that the format does change at least slightly with each version, it's probably a backwards compatibility thing that you can safely ignore. |
@josephrooks The outdated chunks warning is because those chunks were generated using an older version of Minecraft, and the game only brings the biome data up to date when the chunk gets loaded anew. The trick to avoid this, and I've described that in my pull request which has been merged into this one, is to start the server with a --forceUpgrade parameter on the command line. That way the server runs through all the chunks before opening up to clients. If it weren't for a couple of mental health problems, I'd also have added dual support for the old and new formats. The difference between the two can be found by looking at the array size in the NBT data. Another thing that's still missing, is that the biome data now also includes an elevation component. So a map maker would be able to stack multiple biomes on top of one another, but currently the biome data of the lowest 4x4x4 sub chunk is used by mapcrafter for the entire 4x4 column all the way up to build height. Again, I would have considered adding it if I didn't have a lack of focus at the minute. |
Seems like updating the warning message |
I'll be merging this branch so we can focus our efforts on FYI @m0r13 |
This comment has been minimized.
This comment has been minimized.
Is ok to update an existing map (made from the master branch) with the world113 branch program? Or best to generate a new map from scratch? I am mapping a very large world and the full (non-update) method takes many hours. |
@slothbear I haven't tested it, but from what I can tell if you update mapcrafter at the same time with the server executable, and run start that server executable at least once with the --force-upgrade option, it should mostly work with the existing images. The way biomes are stored is changed a little, so you may find the biome edges may be up to 4 blocks off between the existing tiles sitting beside the newly updated tiles. There may be a couple of other little glitches but nothing too bad really. And if all else fails, just let it crank for a couple of hours. It's what I did, but then again, the biome colours were all off before we updated that code. |
This pull request contains:
Related to: Feature request: Support for 1.15 #346