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";
|
|
|
|
|
2013-10-18 02:07:59 +02:00
|
|
|
public static void init(String configPath) {
|
2013-08-23 16:59:50 +02:00
|
|
|
|
2013-10-18 02:07:59 +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
|
|
|
}
|
|
|
|
|
|
|
|
}
|