// Path: src/main/java/com/corwinjv/mobtotems/Reference.java
// public class Reference {
//     public static final String MOD_ID = "mobtotems";
//     public static final String MOD_NAME = "Mob Totems";
//     public static final String MOD_VERSION = "1.12.1-0.3.0";
//     public static final String RESOURCE_PREFIX = MOD_ID + ":";
// 
//     public static final String GUI_FACTORY_CLASS = "com.corwinjv.mobtotems.gui.GuiFactoryMT";
//     public static final String CLIENT_SIDE_PROXY_CLASS = "com.corwinjv.mobtotems.proxy.ClientProxy";
//     public static final String SERVER_SIDE_PROXY_CLASS = "com.corwinjv.mobtotems.proxy.CommonProxy";
// 
//     public static final int CHARGE_COLOR = 0xFF00FF00;
// 
//     public enum GUI_ID {
//         OFFERING_BOX
//     }
// 
//     ;
// 
//     public static void PrintEntityList() {
//         Iterator entityNameItr = EntityList.getEntityNameList().iterator();
//         FMLLog.log(Reference.MOD_NAME, Level.INFO, "-Printing Registered Entity Classes-");
//         while (entityNameItr.hasNext()) {
//             String key = (String) entityNameItr.next();
//             FMLLog.log(Reference.MOD_NAME, Level.INFO, String.format("     %s", key));
//         }
//     }
// }
// 
// Path: src/main/java/com/corwinjv/mobtotems/config/ConfigurationHandler.java
// public class ConfigurationHandler {
//     public static Configuration configuration;
// 
//     /**
//      * Config Properties
//      **/
// 
// 
//     public static void Init(File aConfigFile) {
//         if (configuration == null) {
//             configuration = new Configuration(aConfigFile);
//             loadConfiguration();
//         }
//     }
// 
//     @SubscribeEvent
//     public void onConfigurationChangedEvent(ConfigChangedEvent.OnConfigChangedEvent event) {
//         if (Reference.MOD_ID.equalsIgnoreCase(event.getModID())) {
//             loadConfiguration();
//         }
//     }
// 
//     private static void loadConfiguration() {
// 
//         if (configuration.hasChanged()) {
//             configuration.save();
//         }
//     }
// }


import com.corwinjv.mobtotems.Reference;
import com.corwinjv.mobtotems.config.ConfigurationHandler;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.config.GuiConfig;
package com.corwinjv.mobtotems.gui;


/**
 * Created by CorwinJV on 9/1/14.
 */
public class ConfigGuiMT extends GuiConfig {
    public ConfigGuiMT(GuiScreen guiScreen) {
        super(guiScreen,
// Path: src/main/java/com/corwinjv/mobtotems/Reference.java
// public class Reference {
//     public static final String MOD_ID = "mobtotems";
//     public static final String MOD_NAME = "Mob Totems";
//     public static final String MOD_VERSION = "1.12.1-0.3.0";
//     public static final String RESOURCE_PREFIX = MOD_ID + ":";
// 
//     public static final String GUI_FACTORY_CLASS = "com.corwinjv.mobtotems.gui.GuiFactoryMT";
//     public static final String CLIENT_SIDE_PROXY_CLASS = "com.corwinjv.mobtotems.proxy.ClientProxy";
//     public static final String SERVER_SIDE_PROXY_CLASS = "com.corwinjv.mobtotems.proxy.CommonProxy";
// 
//     public static final int CHARGE_COLOR = 0xFF00FF00;
// 
//     public enum GUI_ID {
//         OFFERING_BOX
//     }
// 
//     ;
// 
//     public static void PrintEntityList() {
//         Iterator entityNameItr = EntityList.getEntityNameList().iterator();
//         FMLLog.log(Reference.MOD_NAME, Level.INFO, "-Printing Registered Entity Classes-");
//         while (entityNameItr.hasNext()) {
//             String key = (String) entityNameItr.next();
//             FMLLog.log(Reference.MOD_NAME, Level.INFO, String.format("     %s", key));
//         }
//     }
// }
// 
// Path: src/main/java/com/corwinjv/mobtotems/config/ConfigurationHandler.java
// public class ConfigurationHandler {
//     public static Configuration configuration;
// 
//     /**
//      * Config Properties
//      **/
// 
// 
//     public static void Init(File aConfigFile) {
//         if (configuration == null) {
//             configuration = new Configuration(aConfigFile);
//             loadConfiguration();
//         }
//     }
// 
//     @SubscribeEvent
//     public void onConfigurationChangedEvent(ConfigChangedEvent.OnConfigChangedEvent event) {
//         if (Reference.MOD_ID.equalsIgnoreCase(event.getModID())) {
//             loadConfiguration();
//         }
//     }
// 
//     private static void loadConfiguration() {
// 
//         if (configuration.hasChanged()) {
//             configuration.save();
//         }
//     }
// }


// Path: src/main/java/com/corwinjv/mobtotems/gui/ConfigGuiMT.java
import com.corwinjv.mobtotems.Reference;
import com.corwinjv.mobtotems.config.ConfigurationHandler;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.config.GuiConfig;

package com.corwinjv.mobtotems.gui;


/**
 * Created by CorwinJV on 9/1/14.
 */
public class ConfigGuiMT extends GuiConfig {
    public ConfigGuiMT(GuiScreen guiScreen) {
        super(guiScreen,
                new ConfigElement(ConfigurationHandler.configuration.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(),