Jump to content

Need Example - How to create Scrollable Lists in GuiScreens


nxtVentix

Recommended Posts

Link to comment
Share on other sites

12 hours ago, CAS_ual_TY said:

 These are your options listed in there. 

 

I have given my own implementation which in the current state you can find here: https://github.com/CAS-ual-TY/Visibilis/blob/c03f6972e3dc2845dbbdcc271ba1eee5b64a2bfc/src/main/java/de/cas_ual_ty/visibilis/util/RenderUtility.java#L410 (scissor methods, feel free to use these yourself) 

 

The only thing is that you have to account for mouse position. There is no hacky way around that, you have to do old fashion calculations. 

I dont know how to make a scrollable List in a GuiScreen with your Codes...

Iam reallly new in forge development. Can u give me a snippet or example :(

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.