When reducing the heart’s alpha to 0 only the pocket’s UI changes.
-Step to reproduce:
1 Copy the attached resource pack.
2 Create a word with the resource pack active.
3 Play on this word.
-Expected result: In desktop mode as well as pocket mode I can’t see the hearts.
-Observed result: Even if It works in pocket mode I can still see the hearts in desktop mode.
Attachments
Comments 5

After seeing the hud_screen.json inside the pack attached, this happens because you only modifies "heart_rend@heart_renderer" inside "not_centered_gui_elements", which is only controlling Heart and other HUD stuff on Pocket UI, for Classic UI it's controlled separately on "centered_gui_elements_at_bottom_middle"
Based on the previous comment, it appears that the issue may be with the pack.
Please try the suggestion mentioned and let us know if that fixed the issue for you.