Started by
koli_dx
on
Topic category: Help with Minecraft modding (Java Edition)
So I am making a mod with a costum XP system and would be pretty nice to see the XP counter in the GUI/Overlay, is there a way to show the Player persistent Variable somehow? Thanks in advance!
Yeah, there is. For your overlay, insert text and make it:
<VAR:integer:VariableName>
If you want, you could do stuff like:
Current Xp: <VAR:integer:VariableName>
Or something like that. Replace VariableName with the name of your player persistent variable, it should work.
Thank you!
You are a real life saver!