Jump to content

GUI Dropdown Menu


Matrix

Recommended Posts

Hey,

i'm currently developing a Minecraft PvP Mod with a bunch of features. Included are features like Hitbox colors. You should be able to modify the hitbox for each entity group individually. 

Now to the problem: I want to create a dropdown menu where you can select the group. There are 4 Sliders and 2 Buttons for each group so it would be too much for one site.

I want to avoid a scrollable GUI because a dropdown menu would look cleaner. I've seen a option to create a "GuiListButton" and a "GuiPageButtonList" but idk what they are doing and how to use them. I already thought of a selection without scrolling (multiple-choice, implemented myself) or a slider to select the group but i'd prefer a dropdown menu. I've already seen some in a few mods but I don't remember where, else I could take a look at the code. It also helps to provide the name of a mod that includes such a feature. (Btw it should be a mod that uses Forge "Buttons", not self implemented ones, so don't include Badlion, Lunar or Labymod pls)

Thanks for any help :)
Matrix

Edited by Matrix
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.



×
×
  • Create New...

Important Information

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