Strange visual elements appearing (Better HUD standalone)
jason5122 opened this issue ยท 1 comments
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.
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.