mojira.dev

Daniel Figueroa

Assigned

No issues.

Comments

[media]

Testing shows that modifying hud_screen.json to restrict the item label height to a single line prevents additional enchantment text lines from rendering.

When only one line of text is rendered and the remaining enchantment lines are hidden, the FPS drop disappears entirely and performance remains completely stable.

This proves that the performance issue is specifically caused by multi-line text rendering within the hotbar item tooltip component.

Attached File: hud_screen.json (Test file configured to limit tooltip height to 1 line to demonstrate that multi-line rendering is the cause of the lag).

I did some more testing and found that the issue only occurs when using the classic rendering pipeline. It is reproducible in both Simple and Fancy graphics modes. However, the issue does not occur when Vibrant Visuals is enabled, which suggests the problem is specific to the classic renderer.

I also noticed that the issue is only reproducible with resource packs containing a large number of terrain textures (a large terrain_texture.json/terrain atlas). Small resource packs with only a few terrain textures do not reproduce the problem. This information may help narrow down the cause of the issue.