"Open screen for [Event/target entity] GUI [customgui]" procedure not opening the GUI for the player

Started by DaanMC on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 22:09, 24. Dec 2023
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Open screen for [Event/target entity] GUI [customgui]" procedure not opening the GUI for the player
Fri, 11/06/2020 - 09:27 (edited)

Hello, I'm having trouble getting my custom GUI to open using the "open screen for [event/target entity] ..." procedure block. The GUI has an inventory that is bound to an item, and it does open when I right-click while holding that item, but I can't seem to open that GUI in any other ways. Does anyone know what I am doing wrong? I've spent many hours trying to get this working so any help would be greatly appreciated!

 

Edit: Seems to be a bug, can't get a single GUI to open using the procedure block. happening on release 2020.4 as well as on 2020.5 EAP 43719.

Edited by DaanMC on Fri, 11/06/2020 - 09:27
Last seen on 22:09, 24. Dec 2023
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can this be moved to "Bugs…
Thu, 11/05/2020 - 20:42

Can this be moved to "Bugs and sulutions"? I can't delete this post but I don't want to post a duplicate..

Probably related to https:/…
Fri, 11/06/2020 - 09:27

Probably related to https://mcreator.net/forum/67753/condition-dependent-fishing-loot, but here the problem is reported for entities and the user confirms items work.

Please open a bug report on GitHub asap, so we can sort this out before the full 2020.5 release.

Could be this (from linked…
Sat, 11/07/2020 - 08:58

Could be this (from linked topic):

Your procedure

image

is called by the entity right-clicked trigger of your entity.

The target entity is the entity you clicked, so you open the GUI for the entity, not for you. You will need to use sourceentity for this.

image

Last seen on 11:24, 2. Mar 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm having a similar issue -…
Sat, 03/02/2024 - 09:44

I'm having a similar issue - I'm attempting to make a GUI that opens when you click on an entity, however, my GUI is not appearing as an option in the drop-down menu in the "Open screen" block. Thanks.

Last seen on 11:24, 2. Mar 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
^ Fixed ^
Sat, 03/02/2024 - 10:14

^ Fixed ^