Posted June 7, 201411 yr So I have a gui that I made and I have it setup similar in appearance to how the creative gui looks. It is not similar in code because I cannot understand the code in the class because many methods and fields are name with fuction_XXXXXXX and field _XXXXXXX. What I need is a way to add a scroll bar to my gui because I have 55 slot on the gui in a single tab and I need 468 in each tab. I already have the tab system working, but I don't really know how to add a scroll bar and I need to add one. So, if anyone has done this before and have example code to reference or know of an open source mod that adds this sort of thing in one of their guis and their code is relatively easy to read and figure out what is going on, or at least easier to read and comprehend than the Minecraft creative gui. All help is appreciated, Thank You! Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
June 7, 201411 yr Hi GuiIngameModOptions might give you somewhere to start, it uses a scrolling list and has meaningful field & method names -TGG
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.