Hello everyone,
I'm currently working on a mod for Minecraft using Forge 1.21+, and I need to render some text or graphics to the screen, similar to how HUD elements are displayed in-game. I have been trying to find a way to do this, but I keep running into issues.
Could anyone help me with the correct method to render text or graphics in Minecraft Forge 1.21+? I don’t want to use the standard GUI methods like Screen, and I'm looking for a solution that works for rendering directly to the game overlay.
Thanks in advance for your help