Posted January 6, 20187 yr Hi, I wanted to change up the players HUD to look like the one back in the beta days of minecraft. I managed to remove some elements using this code. But is there a way to simply change the position / X and Y coordinates of them instead of removing them? Or is there a way to "re-add" them at a different position? public void clear(RenderGameOverlayEvent.Pre event) { if (event.type == ElementType.FOOD) { event.setCanceled(true); } if (event.type == ElementType.EXPERIENCE) { event.setCanceled(true); } if (event.type == ElementType.HEALTH) { event.setCanceled(true); } if (event.type == ElementType.AIR) { event.setCanceled(true); } if (event.type == ElementType.ARMOR) { event.setCanceled(true); } } }
January 6, 20187 yr Author 2 minutes ago, diesieben07 said: No. The values are hardcoded in GuiIngame (resp. GuiIngameForge). You have to draw them yourself at the new position. Could I maybe "override" the entire GuiIngameForge class? So it would you my modified one instead of using the normal one forge provides?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.