is now fully documented, has MCP source files, and includes a few examples.
You can view the source code on my Github, at https://github.com/ShaRose/GuiAPI/.
Javadocs are currently located on my Dropbox, located here. Be warned it may be out of date, as I don’t always remember to update it after a release, and sometimes I do it by accident BEFORE a release. I tag all releases on github, so you can view the source at the time of at least the newer releases.
If you wish to code with, the easiest way is with MCP. Note that since uses generics, and most decompilers can’t handle those well, it will not decompile cleanly. Currently, the best way is the following.
Copy the Developer Package into your minecraft.jar. This can be before or after you decompile, as it’s just the files needed for GuiAPI to run (TWL and other libraries for it, as well as the theme and font), and as such none of it is decompiled by MCP.
After that, grab a copy of the source from Github. I have tagged the releases for you, so visit https://github.com/ShaRose/GuiAPI/tags and click the one you need. Inside that zip file, go to the folder named mcp. It shouldn’t be hard to find.
Now, these files are GuiAPI’s source code. Just copy all of these files into MCP’s src\minecraft\net\minecraft\src folder. This will overwrite GuiOptions.java: If you have made any changes to that file, you can either do those over again OR you can view the information on Github for patching in GuiAPI’s changes.
After this, just compile and you should be all set.
How to Install GUI API for
- Download the GUI API for
- Drag all the contents from the extracted file into the minecraft.jar
- Delete META INF