Started by
Assassin_Gamez
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I'm new to MCreator and modding as a whole and would like some programming help
Basically, I want to press the home key on the keyboard and it will open a menu, but before i can do that i need a boolean toggle so i can open and close the menu when i press the home key. If there's a better way to do this then please let me know, and i would like to apologise if this may be the most basic thing to do (i have the case of the stupid)
Edited by Assassin_Gamez on Sat, 09/09/2023 - 08:06
Make a GUI, and edit it however you like. then, make a key binding (press k) and make it so when you press that button, open said GUI. also note that to even be able to set a GUI to open, you have to fully create said GUI by clicking save mod element