how could I open a gui by procedure

Started by madmoggy on

Topic category: Help with MCreator software

Active 6 months ago
Joined Aug 2024
Points:
105

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
how could I open a gui by procedure

how could I open a gui by procedure.  when I hold a item which has bound to a gui in my main hand and open it by block"open gui <>for <event/target entity>....." , and no matter how I set the entity(I change it to source entity,but it doesnt work said missing depenencies) it just cant open the gui bound to the item.
then I chack this : https://mcreator.net/tracker/issue/62247  
says GUI cant determine itemstack context. I know right-clicking can open the GUI correctly, but is there anyway to open a specific item GUI  in itemstack by procedure?