Jump to content

Recommended Posts

Posted

Given a recent discussion in github, I was wanting some input into the configuration system (including config screen) I use for VeinMiner.

 

1) The configuration screen

 

The main screen

 

  Reveal hidden contents

 

"Enable Veinminer": Cycles between different options

"Range" and "Blocklimit": Slider with a logarithmic* scale with the range 1-1000 blocks.

"Range" and "Blocklimit": Slider with a logarithmic* scale and the end displays "Infinite".

The tool is selectable and the tool list and block list for each tool can be gotten to.

* It changes more per pixel the greater the number.

 

The tool list

 

  Reveal hidden contents

 

A list of tools. Typing in the box will show the icon to the left of the box when you type a matching name. "Delete from list" acts on the currently selected item of the list.

 

The block list

 

  Reveal hidden contents

 

Similiar to the tool list.

 

 

2) Configuration files

 

I have 2 configuration files. The first one uses the standard configuration class.

 

  Reveal hidden contents

 

 

The second uses JSON to configure the tools. Custom values for the tools can be used (e.g. for new tool groups added by other mods).

 

  Reveal hidden contents

 

 

 

I know I am using a custom configuration GUI.

  • Is this GUI intuitive?
  • For these options, can the forge config GUI be as intuitive (or more intuitive)?
  • I am using separate config files for data of different structures. Is this good? Should it be 1 config file?
  • Is there a better way to do this?

 

 

Posted

I think a custom config GUi is better than the built-in one, so long as you're willing to put in the time to make a good one. However the built-in one is convenient because it auto-formats based changes in the Configuration -- in other words you don't have to change code of the GUI when you change the Configuration. However, you also don't have control over things like the order, and generally it looks boring.

 

I do use the built-in one though -- here is my tutorial on doing that: http://jabelarminecraft.blogspot.com/p/minecraft-modding-configuration-guis.html

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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.