public interface IAuxConfig
| Modifier and Type | Method and Description |
|---|---|
default void |
clear()
Clear the contents of this config when init'ing a new config file.
|
java.lang.String |
getConfigFilename()
Get the filename (within the "pneumaticcraft/" folder in the top-level config directory) where this
config should be stored.
|
void |
postInit(java.io.File file)
Called during the post-init phase, after the server has finished loading.
|
void |
preInit(java.io.File file)
Called during the pre-init phase, with the top-level mod config file name (pneumaticcraft.cfg)
|
default boolean |
useWorldSpecificDir()
If true, use a world-local directory for this config, outside the normal config/ hierarchy.
|
java.lang.String getConfigFilename()
void preInit(java.io.File file)
throws java.io.IOException
file - the config file namejava.io.IOException - if there is a problem reading/writing any filesvoid postInit(java.io.File file)
throws java.io.IOException
file - the config file namejava.io.IOException - if there is a problem reading/writing any filesdefault void clear()
default boolean useWorldSpecificDir()