Help with Hiding/Displaying labels and images in GUI.

Started by Crimuretta on

Topic category: Help with modding (Java Edition)

Last seen on 11:39, 8. Sep 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Hiding/Displaying labels and images in GUI.

2023.1. Prototype GUI used to close current one and reopen other GUI to replicate effect of turning the page, but it looked very terrible, caused visual glitches and cursor teleported to center of screen each time new page was opened.

Now i wanted to pull all together into one GUI, with idea of making text and image displaying info corresponding to pressed button but i have no idea how to do this since:
A: Im either blind or stupid or both, but there's literally no procedrue blocks to display something in gui once you press the button, only to run some procedures outside it
B: I tried using return values and variables on button press but it doesn't work, displayed info either don't change or don't display at all.
https://imgur.com/a/kkGsJx1

So question is, is it possible at all, and if it is, then how to make it?

Thanks.