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

Fix MapItem incorectly fetching water biomes on treasure maps #11936

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

Owen1212055
Copy link
Member

@Owen1212055 Owen1212055 commented Jan 9, 2025

This fixes a slight deviation from vanilla in that we incorrectly use the x/y/z coordinates rather than passing section coords.
This is because the old method (getBiome) uses block coords, while uncached noise uses the section positions.

This whole "optimization" creates a big enough deviation in that it probably isn't noticeable. So maybe in future, this should be made configurable?

Note: This is an old issue, not hardfork issue.

This fixes a slight deviation from vanilla in that we incorrectly use the x/y/z coordinates rather than passing section coords.

This is because the old method (getBiome) uses block coords, while uncached noise uses the section positions.
@Owen1212055 Owen1212055 requested a review from a team as a code owner January 9, 2025 19:27
@kennytv kennytv added the type: bug Something doesn't work as it was intended to. label Jan 10, 2025
@kennytv kennytv merged commit ea7b961 into main Jan 11, 2025
8 checks passed
@kennytv kennytv deleted the fix/map-biome-check branch January 11, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something doesn't work as it was intended to.
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

3 participants