how could I open a gui by procedure

Started by madmoggy on

Topic category: Help with MCreator software

Last seen on 10:06, 12. Oct 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?