Started by
Eternal
on
Topic category: Help with Minecraft modding (Java Edition)
So iv been trying to make a mod in which the player can make backpacks and gain extra inventory. And one of the features i was trying to make was binding a key input to the open and closing of the GUI. After proof reading my functions I realized that my code should work, however the problem was that the code block close any open GUI of event/entity would not activate even when directly under the key binding. Im not sure if its because of a bug in MCreator or if i was mis interpreting the use of the close all GUI block.
If anyone has any ideas or knows the fix to my problem please let me know in a comment.
Edited by Eternal on Fri, 11/12/2021 - 10:35
you don't need a keybind to close it, you can close it with E or ESC