Jump to content

Events related to the minecraft window


That_Martin_Guy

Recommended Posts

I would personally find it useful if it was possible to have events fire when certain actions happened to the minecraft window. Examples of this would be

  • Window closed (X button)
  • Window maximized/resized
  • Window minimized
  • Main menu exit button pressed

. A problem with this would potentially be making it cross compatible with mac/linux, although I'm not sure how much power forge has in this category.

Link to comment
Share on other sites

I saw a request on the minecraft forum were someone wanted to have a prompt before he exists the game, whether by pressing the "exit" button in the main menu or pressing the X in the top left of the window. I thought to myself this would either be really hard or really easy to create depending on if there was some sort of event that was fired in these conditions. The closest thing I could find on google was a person wondering if there was any event that was fired in this condition, since he wanted to close some libraries before exiting (link to it here). 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.