Posted January 31, 20214 yr I am creating a mod that adds souls to the game, and when you kill mobs, you get soul shards. Every 100 soul shards you get a soul. I want the number of souls a player has collected to be represented in a bar above the xp bar that has the same look, just a different color. How would I go about doing this?
January 31, 20214 yr You can render it in RenderGameOverlayEvent (Pre/Post), and you need to check for the element type. ForgeIngameGui/IngameGui to see how the original icons are rendered.
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.