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

Implement bedrock custom height #244

Merged
merged 5 commits into from
Jun 7, 2023
Merged

Implement bedrock custom height #244

merged 5 commits into from
Jun 7, 2023

Conversation

gentlegiantJGC
Copy link
Member

This adds support for Bedrock custom height worlds.
Amulet will only save sub-chunks within the editable volume.
For custom height worlds this needs to be changed.

This modification will save between -64 and 320 regardless of height.
If a custom height is defined it will be extended to that but it will be no smaller than the vanilla height.

Fixes Amulet-Team/Amulet-Map-Editor#733

These are used in game data so it make sense that these should match the data values.
This reads the height metadata from the level and finds the minimum and maximum bounds.
Amulet will only save sub-chunks that are within the editable volume.
This still needs some work but it has some of the data
@gentlegiantJGC gentlegiantJGC merged commit ef92766 into main Jun 7, 2023
11 checks passed
@gentlegiantJGC gentlegiantJGC deleted the impl-bedrock-height branch June 7, 2023 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant