Description
When multiple status effects are simultaneously active, the effect icons at the top of the screen do not wrap or reposition correctly to accommodate additional effects.
Once the available horizontal space is occupied, newly applied effect icons appear to extend beyond the visible screen area instead of wrapping into additional rows or adjusting their layout.
Steps to Reproduce
Join a Minecraft world.
Apply multiple different status effects simultaneously.
Continue applying effects until the available icon space is exceeded.
Observe how the status effect icons are displayed.
Expected Behaviour
Status effect icons should automatically wrap into additional rows or adjust their positioning when the number of active effects exceeds the available horizontal screen space.
All active status effect icons should remain visible and accessible regardless of how many effects are applied.
Actual Behaviour
When too many status effects are active, the icons do not wrap or reposition properly, potentially causing some icons to become inaccessible or extend beyond the visible screen area.
Screenshot
Attached screenshot demonstrates the issue with multiple active status effects.
Environment
Windows 11 26H2 in x86_64 Java 25
Thank you for helping us improve Minecraft! We saved your files: