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

Started by DaanMC on Sat, 10/31/2020 - 22:16

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:42, 9. Sep 2021
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 18:42, 9. Sep 2021
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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