I'm trying to make a procedure that when we click on a certain item in the hotbar it opens a GUI (Solved!)

Started by TeaKuiperz on

Topic category: Help with modding (Java Edition)

Last seen on 20:29, 25. Sep 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm trying to make a procedure that when we click on a certain item in the hotbar it opens a GUI (Solved!)
Thu, 12/09/2021 - 17:50 (edited)

As I explained in the title I'm trying to make that when we click on air with the right button it opens a Gui but I'm having problems doing it, i don't understand how I can complete the dependency
https://imgur.com/a/5G4Dv43

Edited by TeaKuiperz on Thu, 12/09/2021 - 17:50
Last seen on 18:15, 15. Feb 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here you go: Go to item then…
Wed, 12/08/2021 - 11:22

Here you go: Go to item then create a procedur called  When right clickt on air

"."

Last seen on 16:07, 18. Mar 2024
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, TeaKuiperz! I guess,…
Thu, 12/09/2021 - 17:27

Hi, TeaKuiperz!

I guess, your problem is that in your procedure „Open GUI for…“ is the part „Source Entity“ wrong. You should actually change that to „Event/Target Entity“ so that GUI would open for the player that holds the item, to which this procedure is actually attached.

Simply put: Change „Source Entity“ to „Event/Target Entity“.

Hope that helps!

Last seen on 20:29, 25. Sep 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you it works!    
Thu, 12/09/2021 - 17:50

Thank you it works!

 

 

Last seen on 16:07, 18. Mar 2024
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You are welcome!
Sat, 12/11/2021 - 19:02

You are welcome!