Hello! I am working on the Sim-U-Kraft mod!
In part of the mod, the top of the screen has done basic text at the top.
I render this in the RenderGameOverlayEvent.Post.
My current code is this:
@SideOnly(value = Side.CLIENT)
@SubscribeEvent(priority = EventPriority.NORMAL)
public void overlay(RenderGameOverlayEvent.Post event) {
if (event.isCancelable() && event.isCanceled()) {
return;
}
Minecraft mc = Minecraft.ge