How to make changing text on GUI with multiple "Format Number As" procedure blocks

Started by nilek20 on

Topic category: Help with modding (Java Edition)

Last seen on 15:23, 11. Feb 2024
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make changing text on GUI with multiple "Format Number As" procedure blocks

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