Started by
Andrey Volynkin
on
Topic category: Help with Minecraft modding (Java Edition)
I wanted to create a procedure in my modification so that the button closes the interface. But I didn't see this link there and I didn't succeed, please tell me how to do this procedure for my mod on version 2023.2
to make a button make a procedure when clicked, make a new procedure (the one you wan to button to do), then go back to the GUI with the button, edit the button (double-click) and then you go press the button next to the "do:" and select your procedure, if you want the procedure to make the button close the interface, use the "close and open GUI for event/target entity" procedure, i hope this helps you!