Jump to content

[1.10.2][1.11.x] Config GUI multiple settings on a single line


Recommended Posts

Posted

Currently I have three separate config dialogs/pages that enumerate the sounds registered in Minecraft.  One dialog/page allows the user to toggle sound blocking (a boolean), another for sound culling (a boolean), and a third for volume scale factor (an int/float).  What I would like to do is merge them together into a single dialog where a sound would be listed, and to the right ( and before the default/reset buttons Forge provides) I would like to add two buttons (one each for blocking and culling) and a slider (for volume).  There doesn't appear to be one provided by Forge so my hope is that someone has done this already and as a pointer to some code I could look at.  Failing that, is this something that would be possible if I implemented my own IConfigEntry (or derives from ListBaseEntry) that aggregates the necessary controls, or would it be climbing a mountain?

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.