Jump to content

Gui tutorials


Recommended Posts

Anyone know of any gui tutorials?

I'm at a point in my mod where I need to start adding them, and the source code is all kinda of confusing. I am completely worthless when it comes to parsing anything graphics related, which I suspect is just part of my general mental art block.

Doesn't help I'm out of caffeine...

I specifically need containers, though covering buttons and text would be nice too.

Link to comment
Share on other sites

Here's the source to my old Fair Trade mod. In it, I've created a sort of modular layer on top of the existing Minecraft GUI code to abstract away a lot of the bullshit, including initial work on a way to implement animation or other state-relative UI elements without a lot of extra code. It should be a fairly-decent starting point; Let me know if you have any questions about it.

(Note that the code is made for 1.1, and also note that the code is incomplete and discontinued, so squeeze the sponge for whatever is left in it and then discard when no longer useful.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...