how cloud I open GUI of my off-hand item when I hold a item in main-hand

Started by madmoggy on

Topic category: Help with MCreator software

Last seen on 05:39, 14. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how cloud I open GUI of my off-hand item when I hold a item in main-hand
Wed, 08/14/2024 - 03:07 (edited)

when I hold items in both of my hands, I use procedure "open GUI for event/targe entity pass location xyz" to open a GUI, but every time it open the GUI for main-hand only, even it doesn't link to a GUI .

So my question is , how cloud I open a specific GUI of an item not juse held by my main-hand when I get an item in my main hand. 

 

 

 

Edited by madmoggy on Wed, 08/14/2024 - 03:07
Last seen on 05:39, 14. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
here I found the problem,…
Wed, 08/14/2024 - 03:28

here I found the problem, when I use block" open GUI __for event/target entity pass......" to open a GUI, not by right-clicking, it will only open the GUI linked the item in my main-hand(even it doesn't have a GUI),  but I dont want to use right-click, i wan to open a GUI by a bind key(like Alt ).