CloseEventListener
Implement this interface alongside GuiComponent to receive an event when the gui closes.
Inheritors
Functions
Link copied to clipboard
Called after the gui has been closed, both by the component gui, or by other actors, such as a teleport packet.
Link copied to clipboard
Called just before a voluntary close. Return CloseAction.DENY_CLOSE to override the close. Make sure to update your state such that the user can close the gui afterward.