cant open a UI menu correctly by procedure. why?

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:
cant open a UI menu correctly by procedure. why?

I create an entity and link it to a UI which has 4 slots in it.  when I have it in my main-hand and right-click,  it could open the UI correctly. but if I open the UI with procedure "open GUI for event/target entity ......" it will open a UI which does not exist before and seems doesn't link to any entity. can anyone tell me how to open a UI with procedure correctly.