[1.5.2] GuiAPI - An Advanced GUI Toolkit

NOTICE: This mod is dropped by me. As it says later in the thread, full source is on github. If you want to update it, go for it. You don't need to ask me. Branch it, copy it outright, I don't care. If you want to ask me about anything, I am still on irc.

Hello! I'm ShaRose and I'm currently the primary maintainer for GuiAPI, taking over for lahwran who will still be contributing. GuiAPI is a powerful API for creating easy to create and use settings and menus in Minecraft, and uses TWL (http://twl.l33tlabs.org/).

For Users:

Current version is 0.15.6-1.5.2. Please note that as of 0.15.2 and on, GuiAPI is a coremod, and thus requires Forge.

Oh, and even though it should be obvious since it's a gui mod, yes, this is client only. If you try and install this on a server it will crash.

If you are using Linux you will need to update LWJGL to 2.6 or higher, due to a bug in the version that Minecraft is shipped with at the moment. Windows users do not need to do this. You can download the latest version from the LWJGL website.

I don't currently host javadocs anywhere, though I do tag releases on Github when I commit, which do have javadocs. If it's not specifically tagged, or there's no comment, there's a good chance that no changes were needed and it was just a straight recompile.

Installation instructions for GuiAPI into MCP are on the repo's readme, here.

If you have modified GuiAPI by updating the theme, adding a new Widget, added functionality, or fixed a bug, please by all means contact me with details below or open a new issue on Github.

Contact me:

If you need help using GuiAPI (Adding GuiAPI to your mod), you can contact me on IRC, or you can email me using the option in my profile.

Anyone (install help OR modding help) can contact me on IRC on #Risucraft on Espernet if you have an IRC client, and if not you can use the EsperNet Webchat here. Don't be discouraged if I don't answer immediately, I may be asleep / at work / otherwise AFK.

If you mean the changes I made, a vast majority was code cleanup. Renaming fields and methods, commenting, etc. I made sure all methods and fields had a javadoc entry. I added GuiApiHelper, which includes a lot of helpers. I modified ModAction to allow some more functions. I updated ModSettings to include some 'basic' methods to get settings. I updated GuiModScreen to allow more control over the background rendered. WidgetClassicTwocolumn and WidgetSinglecolumn have an option to set a specific widget's height. That's just the stuff I remember off the top of my head, and the vast majority isn't used by most people.

If you mean the changes I made, a vast majority was code cleanup. Renaming fields and methods, commenting, etc. I made sure all methods and fields had a javadoc entry. I added GuiApiHelper, which includes a lot of helpers. I modified ModAction to allow some more functions. I updated ModSettings to include some 'basic' methods to get settings. I updated GuiModScreen to allow more control over the background rendered. WidgetClassicTwocolumn and WidgetSinglecolumn have an option to set a specific widget's height. That's just the stuff I remember off the top of my head, and the vast majority isn't used by most people.

infomation overload...

Anyways, going to sift through that javadoc later.

Rollback Post to RevisionRollBack

Playing since Beta 1.3_01. Yeah. I like BTW. Or used to. Still do. ­Stuff Technic. (Back in the day...)
*Plays Minecraft on a craptop* *Optifine user since Optimine* *Using mods since Beta 1.5_01*

I assume you install it just like any other mod? You might want to provide at least a cursory explanation about installation in the OP. I've installed enough mods that I'm pretty sure I'm doing it right, but I imagine users who are new to Minecraft modding would appreciate some instruction.

Anyway, thanks for the API. I'm planning to install this and the Forge version of your ID Resolver and go crazy with Forge mods.

EDIT: Rereading it, the first paragraph might come off as kind of hostile or like I'm chastising you. Just want to say that that wasn't my intention. I was really just trying to make a suggestion that I figured would be helpful to new modders.

I, too, would love to see some instructions. Do you put the .zip into the mods folder, or do you unzip it and throw it into minecraft.rar?
Also: how can I tell whether the installation was successful? I don't even know what this mod does, but I need it for the ID Resolver. I've tried getting it to work numerous times, but it never worked, and I have no clue why. I don't even know if it's because of GUIAPI or ID Resolver itself.

i made it work :biggrin.gif: just install GuiAPI right after ModOptionsAPI. It worked for me :smile.gif: