Is it possible for GUI buttons to open another GUI? Also other problems...

Started by Dragorach on

Topic category: Help with MCreator software

Last seen on 12:09, 2. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible for GUI buttons to open another GUI? Also other problems...

 Making a mod with a crafting table with too many properties for one GUI. I want to be able to use up blocks to wrap their texture around a model (e.g. bedrock stairs, fences, etc) . I want the table's GUI to have buttons to split up the groups of blocks to wrap around. Is there a way to either change how the GUI looks upon button press or to switch to another GUI element? The buttons would function like the creative inventory with tabs separating blocks. Another way to solve this problem would be to use a stencil to choose the model being wrapped but that's option B for me. Also, is there an efficient way to do the texture wrapping? I'm willing to cut down but the current plan is like 140 models and like 100 textures, which comes out to about 15,000 new blocks. I don't really wanna do that manually and was wondering if I could use procedures to generate the blocks by the table and not have to reference items/blocks I created. Also it would be nice if there was more configurability in the GUI editor; vertical(and non rectangular) button sizing, text fonts, animations, etc. Sorry if this is too many problems for one forum post, wasn't sure if I should split it up or not.

Is it possible for GUI…
Fri, 07/02/2021 - 09:46

Is it possible for GUI buttons to open another GUI

Yes. It is very simple. Make procedure that opens GUI and call it on button click.

I highly suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Last seen on 12:09, 2. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay I got the button GUI…
Fri, 07/02/2021 - 11:48

Okay I got the button GUI thing working. I think it was made hard to find because there's a "Close any GUI..." procedure and not a corresponding 'Open GUI' procedure. Instead it's "Open screen...". Does the same job when you find it, just less intuitive to find at least for me.