Posted March 17, 201510 yr I want to add an options menu into some of my mods I dont want them bound to keys does anyone know if there is a way to add int the existing options menu
March 17, 201510 yr As far as I know forge has an api for adding config pages to mods, but the last time I checked it out it wasn't finished. The other way would be to register a GuiScreenEvent.DrawScreenEvent, check which GUI is being drawn and if it is the options gui draw your own stuff on top. (Like for example a Button that opens your mods config page.)
March 17, 201510 yr As far as I know forge has an api for adding config pages to mods, but the last time I checked it out it wasn't finished. I have a tutorial for using the GuiConfig and IModGuiFactory functionality. It works mostly, although there is some not finished parts. Anyway, this tutorial might be interesting: http://jabelarminecraft.blogspot.com/p/minecraft-modding-configuration-guis.html Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.