Started by
derpy588
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I am new to MCreator, but I am creating a GUI and made a text label and I want to set the label to the players name. How can I do that. Thank you!
Use a global variable with a player scope and then, set this variable to the player’s name when the action you want is executed.
Okay thank you. It worked.
Will this work for player persistent variables? I have a couple but the only option is fixed
@JuancarlosKaiShiro create a procedure with no code other than to return the player persistent variable. you will be able to use this as the input for the text in the GUI.