Jump to content

GUI tutorial reference


Izar

Recommended Posts

Hello Minecraft Forge community!

I'm creating a mod and have a tool set, some items. blocks and other things,

However, I want to create an item that has a GUI when you right click it.

 

I do not know how to create a GUI so I was wondering if anyone could give me a GUI tutorial for 1.7.10

Thanks!

Link to comment
Share on other sites

A gui like inventory slots or just buttons and such? If you want the container too try this, otherwise you can do 2 things: install codechicken core (an API that has a bunch of useful stuff for mod developers) and follow this tutorial or not do that and try this one. I would choose the first because you won't need a custom packet system to handle buttons, (almost) everything is handled behind the scenes by codechicken core and you can instantly edit behaviour on key press, mouse scroll, button pressed and such just by overriding a method. Besides, I would choose that because I wrote the tutorial ;)

Check out my blog!

http://www.whov.altervista.org

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.