equivalent-exchange-3/common/com/pahimar/ee3/configuration/ConfigurationHandler.java

31 lines
820 B
Java
Raw Normal View History

2013-08-23 16:59:50 +02:00
package com.pahimar.ee3.configuration;
import java.io.File;
import net.minecraftforge.common.Configuration;
/**
* Equivalent-Exchange-3
*
* ConfigurationHandler
*
* @author pahimar
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class ConfigurationHandler {
public static Configuration configuration;
public static final String CATEGORY_TRANSMUTATION = "transmutation";
public static void init(String configPath) {
2013-08-23 16:59:50 +02:00
GeneralConfiguration.init(new File(configPath + "general.properties"));
BlockConfiguration.init(new File(configPath + "block.properties"));
ItemConfiguration.init(new File(configPath + "item.properties"));
TransmutationConfiguration.init(new File(configPath + "transmutation.properties"));
2013-08-23 16:59:50 +02:00
}
}