Open GUI on item click

Started by Nino3245 on

Topic category: Help with modding (Java Edition)

Last seen on 20:15, 31. Jul 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Open GUI on item click

Hello, I am looking to find a way to open a GUI when you right-click an item

For example, if you right click on a fast-travel item it will open a fast travel GUI,

Thanks!

Last seen on 22:01, 31. Jan 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a block on player…
Fri, 07/14/2023 - 01:29

There is a block on player management that opens a gui. then simply add the trigger for that procedure in right click trigger of the item you want and you are ready. Hope this helps!! :D

 

Last seen on 20:15, 31. Jul 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! It helped.
Fri, 07/14/2023 - 15:04

Thanks! It helped.