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

Health overlay rendering while frozen from powder snow #292

Open
Terrails opened this issue Mar 18, 2024 · 0 comments
Open

Health overlay rendering while frozen from powder snow #292

Terrails opened this issue Mar 18, 2024 · 0 comments

Comments

@Terrails
Copy link

Like the title says, while frozen from being in powder snow the heart icons being rendered while holding food are normal hearts.

To reproduce: place down powder snow using a bucket, walk into it and hold a food item. This results in:
javaw_20240318-144626-958_(Minecraft_1 20 2_-Multiplayer(LAN))

The rendering should probably be disabled the same way it is when affected by poison or wither effects. For this there is a isFullyFrozen() method inside the Player class.

I am unsure how early Mojang implemented those custom heart icons while freezing, but I have tested this with 1.20.2 and above.

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

No branches or pull requests

2 participants