BiomesOPlenty/common/biomesoplenty/configuration/configfile/BOPConfiguration.java
2013-09-14 20:16:39 +10:00

27 lines
875 B
Java

package biomesoplenty.configuration.configfile;
import java.io.File;
public class BOPConfiguration
{
public static File mainConfigFile;
public static File biomeGenConfigFile;
public static File terrainGenConfigFile;
public static File idConfigFile;
public static File miscConfigFile;
public static void init(String configpath)
{
mainConfigFile = new File(configpath + "main.cfg");
biomeGenConfigFile = new File(configpath + "biomegen.cfg");
terrainGenConfigFile = new File(configpath + "terraingen.cfg");
idConfigFile = new File(configpath + "ids.cfg");
miscConfigFile = new File(configpath + "misc.cfg");
BOPConfigurationMain.init(mainConfigFile);
BOPConfigurationBiomeGen.init(biomeGenConfigFile);
BOPConfigurationTerrainGen.init(terrainGenConfigFile);
BOPConfigurationIDs.init(idConfigFile);
BOPConfigurationMisc.init(miscConfigFile);
}
}