How do I make variables show in GUI text?

Started by Yayex on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make variables show in GUI text?

I'm creating this forum topic because I don't know how to make variables show in the text of a gui/overlay. If someone can help me with this, I will be very happy.

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you have to make a variable,…
Wed, 08/09/2023 - 20:53

you have to make a variable, of string type, then you make a procedure with a string type return block, in the return block you have your variable, then go in your GUI, make a new text (or edit an existing one) and then change the Fixed value to the procedure name you have added. Hope that helps

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! I will try this…
Sun, 11/05/2023 - 01:21

Thank you! I will try this technique right away!

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
IT WORKED! THANK YOU SO MUCH…
Sun, 11/05/2023 - 12:59

IT WORKED! THANK YOU SO MUCH! :D

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Now I know how to use the …
Wed, 11/08/2023 - 12:40

Now I know how to use the "Return" function! :D