mccreery / better-hud

All the information you'll ever need! A Minecraft mod written in Forge.
https://www.curseforge.com/minecraft/mc-mods/better-hud
MIT License
32 stars 11 forks source link

Strange visual elements appearing (Better HUD standalone) #80

Open jason5122 opened 4 years ago

jason5122 commented 4 years ago

Hi, I was playing with Better HUD and I came across a non-crashing visual glitch. Below are a few GIFs of them in action, as well as my crash report from a forced crash (same world in the GIFs). I noticed the sign display and the blood effects behave strangely when hovering over other mobs, though I'm sure there are other visual elements that would probably behave this way as well.

sign glitch

blood glitch

crash-2020-01-17_22.55.11-client.txt

mccreery commented 4 years ago

Cause (note to self): some elements (ParticleOverlay in particular) don't call the parent shouldRender so they are rendered in both overlay and mob info events.

Good fix: force all elements to provide a single event they care about (in constructor or wherever) and enforce it in the render event.