In short:
Request for adding events like on_entity_gui_opened, on_entity_gui_closed.
Long:
I wanted to know when the default GUI of an entity is opened or closed, so I can show or hide my custom GUI for that entity.
I did a brief research on this topic but have no luck besides finding some hacky solutions in 0.12 like Wrench or WrenchFu. (I call them hacky because they introduce an extra item in order to show the custom GUI which I think is inconvenient to the players.) Forgive me if I missed anything.
If it is possible, I would also want to know when its circuit network/logistic network GUI is opened/closed since they are hidden by default in 0.13, and my custom GUI will be something about the network.
I believe that once the events are added, we can see mods that have well designed custom GUI bound with their entities.
Request for on_entity_gui_opened, on_entity_gui_closed
Re: Request for on_entity_gui_opened, on_entity_gui_closed
Choumiko wrote:Beat you to it once again
viewtopic.php?f=28&t=24669
hm... Do you think we would also need to request APIs for making draggable GUI? I haven't seen any mod that have draggable custom GUI.
Re: Request for on_entity_gui_opened, on_entity_gui_closed
This was implemented a long time ago.