Gui API 0.10.4
Advanced GUIs in Minecraft
Minecraft beta 1.7 through 1.7.3
Download Link:
http://www.mediafire.com/?155xvkmibrt09yf
http://hotfile.com/dl/123709264/1c0fc2e/HaGiangVui.Org_GuiAPI0.10.4-1.7.rar.html
NOTE: if you’re on linux, depends on LWJGL 2.6+ – if you do not install lwjgl 2.6+, this version will IGNORE MOUSE INPUT, due to what seems to be a rather large bug in the version of LWJGL that is shipped with minecraft, namely 2.4. supposedly mojang will be including 2.6 soon, but since it apparently isn’t needed for windows users, I’m not going to wait for that.
Last update date: Fri Jul 1 12:14:29 MDT 2011
Beta compatible: 1.7
Current version: 0.10.4 – Some bugfixes for ShaRose and DrZhark, test of notchy scrollwindow theme
See https://github.com/lahwran/guiapi for the source – you’ll need the Setting* classes from this in order to use it with mcp apparently, this being because mcp does not handle generics well. I’ll see if I can come up with something better soon (for instance, just compiling against guiapi)
What it is
guiapi integrates the twl widget library (twl.l33tlabs.org), a very powerful widget library for LWJGL, and adds a (hopefully) simple API to allow modders to register settings for the gui.
To modders
a change in this version now requires that you use .get() on settings instead of .value, as I can’t add logic to .value to retrieve per-world settings.
feel free to decompile it and see how it works, though beware that I may change things around on the inside still. or if you really want to see my formatting and comments, ask me for the original source.
Documentation:
beware – if you use anything not in the test class, then it may break on a future update without warning. this includes stuff I directly support …
Todo:
- investigate a subscreen in keybindings page
- rewrite entire minecraft gui to use twl? would give modders a huge amount of power over the gui… like, really huge