Jump to content

Creating a Gui with a slider/scroll bar


Recommended Posts

So I have absolutely no idea how to go about this. I have made GUIs before but now I wish to create one like in the creative menu. Also its not going to be a container I will have buttons of some sort that you can click on.

I've found cpw.mods.fml.client.GuiScrollingList will I have to use something like this?

If theres a tutorial could someone please point me to it or if not could you provide an example of this that is explained?


Link to comment
Share on other sites

If I was to guess anything, you should look into the gui overlay? I have spent some time with that recently. You may be able to look into the GuiContainerCreative.java code to see if something will help you there. I am not sure if the forge mod loader one will be what you are looking for(I could be wrong though).

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.

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.


  • Create New...

Important Information

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