[Issue] - Fix HudElementRegistry.replaceElement() for subtitles during gameplay.
Fixes issue #4933 where HudElementRegistry.replaceElement(VanillaHudElements.SUBTITLES, ...) did not work correctly during normal gameplay, only when the game was paused. This prevented mods from properly scaling, positioning, or otherwise modifying subtitle rendering during active play.
https://github.com/user-attachments/assets/501116a1-6d37-4a04-8476-71be2870bd8e
The test build / client_test failing seems to be an infrastructural issue. I can see that the PR previous to this also has this issue.
The test
build / client_testfailing seems to be an infrastructural issue. I can see that the PR previous to this also has this issue.
yes, MC-304369
Wait don't merge yet
@Liam-Broome are you still working on this? If not, then I'd like to implement the requested changes myself. No worries if you're busy.
@ekulxam - Feel free to take over 😀
@Liam-Broome I've made a pull request to your fork https://github.com/Liam-Broome/fabric/pull/1