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 Minecraft modding (Java Edition)

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
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

"."

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!

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!

 

 

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!