Topic category: Help with Minecraft modding (Java Edition)
I am Making a mod that gives the player stats. For this mod i am using a Player Persistent Number variable for both the players level and EXP. I want to make a procedure that will "Return Text" so that in the GUI the text will display "(Current EXP) / (A number that i define relative to the "Level" variable)". i can make a procedure that can print the first line (The "Current EXP") but i dont know how to add additional lines to the text that the procedure will return. Below are some links to some screenshots of what i have so far.
https://drive.google.com/file/d/1TKDTpoMFyVMTh_wxbwH_LRe9AaXlQ-3L/view?usp=sharing
https://drive.google.com/file/d/1ZKPNEVm04c_Uo7eLI08AcYYZMCBhu_27/view?usp=sharing
https://drive.google.com/file/d/1aICj7BcQoSkHfKMdPdDh64fgNvtbzcl1/view?usp=sharing