'Render text on screen with MCP in Minecraft 1.18

I want to display a text on the screen in Minecraft 1.18 with MCP-Reborn. I have watched tutorials on YouTube but they only cover how to do it in 1.12, after around 4 hours of searching the internet I didn't find anything for 1.18. In 1.12 they used Minecraft.getMinecraft().fontRendererObj.drawString(text, x, y, color);.



Solution 1:[1]

The problem with MCP is that it only works for 1.7.10, 1.8.8, 1.9.4, 1.10, 1.11.2 and 1.12 as we can see in their download page. That's probably why no one covers how to do it pass those versions.

However, you could use MCP-Reborn, it might be helpful!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 lLauriix