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

Rewrite biome coloring to not require rendering mod patches #2773

Open
wants to merge 1 commit into
base: 1.20.1
Choose a base branch
from

Conversation

embeddedt
Copy link
Contributor

This PR moves the environmental hazard coloring to BiomeColors, which avoids the need to patch BlockColors and rendering mods separately, and avoids the need to check what type of block is being colored in BlockColors.

I've also made the maps in EnvironmentalHazardClientHandler concurrent as they will be read on multiple threads and are not read-only. This fix is unrelated to the previous change.

@embeddedt embeddedt requested a review from a team as a code owner January 20, 2025 20:38
@embeddedt embeddedt force-pushed the rewrite-biome-colors branch from 080348f to d38adba Compare January 20, 2025 20:40
Copy link
Member

@screret screret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohhhhh that's the place it should've gone to, I couldn't find it

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

Successfully merging this pull request may close these issues.

2 participants