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

30 lines
820 B
Java

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) {
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"));
}
}