Skip to content
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

Variable Biomes along Y axis resulting in reduced Biome information stored on disk #190

Open
EtlamGit opened this issue Nov 24, 2019 · 3 comments
Labels

Comments

@EtlamGit
Copy link
Collaborator

Starting with 19w36a Minecraft supports variable Biome along the Y Axis.

Information on disk is stored in 1024 integers instead of 256 integers like before. This is less information along X and Z axis. Now one element represents a 4x4x4 part of the Chunk. Real Biome data is interpolated inside the Minecraft Client during run-time and no longer present in the stored data on disk.

To be able to use Biome data per Block (as possible with older versions) this algorithm has to be extracted from the Minecraft source code. Also neighboring Chunks would be needed, as interpolation depends on Biome data in adjacent Chunks. This is not possible with the current Minutor architecture.
-> we will support only 4x4x4 parts as Biome

@EtlamGit
Copy link
Collaborator Author

Stored data on disk:
grafik

Real Biome data used in Minecraft Server and Client:
grafik

@erich666
Copy link

erich666 commented Dec 7, 2019

Interesting exploration, thanks. I ran into the same thing in Mineways, and am not bothering being too clever with this stuff for now. I have to admit I don't see an obvious algorithm as to how they decide what biome to use for each individual pixel - maybe there's some noise function layered on? Ugh.

@EtlamGit
Copy link
Collaborator Author

EtlamGit commented Dec 8, 2019

I assume that the stored data is enough to let the normal Chunk generation algorithm know how to recalculate the finer resolution. So, just repeat some part of the typical Chunk generation.

Main problem for Minutor is, that it seems to be dependent on neighboring Chunks. And we are not able to look into them during Biome loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants