This works fine and there are other tutorials on configurations (see How To Make An Advanced Configuration File). For example, maybe you want the health of a custom mob to be configurable. The values in the config file can be mapped to fields in your code to configure how your mod behaves.
So here is my own tutorial.)Ī config is a text file that is user-editable, and usually within the user directory (not the installation directory or JAR) of the computer. (I learned how to make a configuration GUI originally from a minalien tutorial, but it seems that his is no longer posted.