gui for a backpack

Started by Nako__RUS on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
gui for a backpack

Hello, I started developing a modification for the computer edition of minecraft, and I have such a problem, I can't do the opening of the gui when the right mouse button is pressed, please HELP URGENTLY!!!

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You should just be able to…
Thu, 07/27/2023 - 05:50

You should just be able to make a procedure that opens the GUI. Go into the Player Management tab, and look for the 'Open Screen' block, which you can link to your custom GUI. Then either have the procedure trigger when the player right clicks with an item, (You can set the global trigger to do this), or make a custom keybind that calls the procedure when the mouse is right clicked.