-
Notifications
You must be signed in to change notification settings - Fork 76
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
Support 1.12 and 1.13+ worlds in the same Chunky version #553
Comments
What changes so much that doesn't allow it to happen at the moment |
@RocketNinja15 The blocks are stored differently and instead of having block states for everything, Chunky has to implement a lot of Minecraft's block connection logic (i.e. redstone wire behavior, door rotation, …) for pre-flattening (<1.13) worlds. Also since blocks can be waterlogged as of 1.13, there are two octrees in Chunky now. I have a proof-of-concept branch that can load 1.12 worlds and converts the blocks to Chunky 2.x blocks while loading the chunks. Doesn't support most of the blocks yet, but it's a start. The good thing is thatold Minecraft doesn't get updated, so there won't be new blocks to add to this conversion process at some point and it will be done. |
This is currently being worked on by @alexhliu and me. 🙃 Legacy block types that need to be finalized:
Blocks that were treated specially in Chunky 1.4.5 (https://github.com/chunky-dev/chunky/blob/chunky-1.x/chunky/src/java/se/llbit/chunky/renderer/scene/Scene.java#L855):
Some blocks used to have tile entities (we need to update the blocks in the octree):
|
We should test against the scenes from #434 later. |
Tested the PR with my old worlds and found the following problems: |
|
@ShirleyNekoDev Fixed, please continue testing 😄 Can you check the vines bug again? Because I didn't even manage to get such an edge ingame (although it is possible for a vine to have up to 5 faces). |
Corner vines not - World: vines_bug.zip |
@ShirleyNekoDev Corner vines work fine if the block data is set correctly. In the world you sent, the block data of the vines is either 0 or 8. Even when I set that ingame in 1.12, the blocks don't show up as corner blocks. When I set corner block data, e.g. 9, it works (ingame and in Chunky). So I don't know how to fix this. |
A lot of things changed in the flattening and the new updated shiny version of Chunky doesn't support 1.12 and older worlds anymore. That leads to inconsistencies (1.12 Chunky doesn't have the new UI) and bug fixes not being applied to both versions.
By abstracting away from the world format and refactoring some things, it should be possible to open 1.12 and 1.13+ worlds in the same Chunky version one day.
The text was updated successfully, but these errors were encountered: