// Path: src/main/java/com/github/worldsender/mcanm/MCAnm.java
// @Mod(
// 		modid = Reference.core_modid,
// 		name = Reference.core_modname,
// 		version = Reference.core_modversion,
// 		guiFactory = "com.github.worldsender.mcanm.client.config.MCAnmGuiFactory")
// public class MCAnm {
// 	/**
// 	 * Enables various visual outputs, e.g. the bones of models are rendered.
// 	 */
// 	public static final boolean isDebug;
// 	static {
// 		Object deobfEnv = Launch.blackboard.get("fml.deobfuscatedEnvironment");
// 		Boolean isDeobfEnv = deobfEnv instanceof Boolean ? (Boolean) deobfEnv : null;
// 		isDebug = isDeobfEnv == null ? false : isDeobfEnv.booleanValue();
// 	}
// 
// 	@Mod.Instance(Reference.core_modid)
// 	public static MCAnm instance;
// 
// 	@SidedProxy(
// 			modId = Reference.core_modid,
// 			clientSide = "com.github.worldsender.mcanm.client.ClientProxy",
// 			serverSide = "com.github.worldsender.mcanm.server.ServerProxy")
// 	public static Proxy proxy;
// 
// 	private MCAnmConfiguration config;
// 	private Logger logger;
// 
// 	@Mod.EventHandler
// 	public void preInit(FMLPreInitializationEvent pre) {
// 		logger = pre.getModLog();
// 		config = new MCAnmConfiguration(pre.getSuggestedConfigurationFile());
// 		proxy.preInit();
// 		MinecraftForge.EVENT_BUS.register(this);
// 		logger.info("Successfully loaded MC Animations");
// 	}
// 
// 	@Mod.EventHandler
// 	public void init(@SuppressWarnings("unused") FMLInitializationEvent event) {
// 		if (isDebug) {
// 			ResourceLocation ID_CUBE = new ResourceLocation("mcanm:cube");
// 			ResourceLocation ID_CUBE_V2 = new ResourceLocation("mcanm:cube2");
// 			EntityRegistry.registerModEntity(ID_CUBE, CubeEntity.class, "Cube", 0, this, 80, 1, true);
// 			EntityRegistry.registerModEntity(ID_CUBE_V2, CubeEntityV2.class, "CubeV2", 1, this, 80, 1, true);
// 		}
// 		proxy.init();
// 	}
// 
// 	@SubscribeEvent
// 	public void onConfigChange(OnConfigChangedEvent occe) {
// 		if (!occe.getModID().equals(Reference.core_modid))
// 			return;
// 		config.onConfigChange(occe);
// 	}
// 
// 	public static MCAnmConfiguration configuration() {
// 		return instance.getConfiguration();
// 	}
// 
// 	public MCAnmConfiguration getConfiguration() {
// 		return this.config;
// 	}
// 
// 	public static Logger logger() {
// 		return instance.getLogger();
// 	}
// 
// 	public Logger getLogger() {
// 		return this.logger;
// 	}
// }
// 
// Path: src/main/java/com/github/worldsender/mcanm/Reference.java
// public class Reference {
// 
// 	public static final String config_reload_enabled = "enableReload";
// 	public static final String gui_config_title = "mcanm.config.title";
// 	public static final String gui_config_reload_enabled = "mcanm.config.autoreload";
// 	public static final String[] model_suffix_list = { ".mhmd" };
// 	public static final String model_type = "model_type";
// 
// 	public static final String core_modid = "@modid@";
// 	public static final String core_modname = "@MODNAME@";
// 	public static final String core_modversion = "@VERSION@";
// }


import java.util.ArrayList;
import java.util.List;
import com.github.worldsender.mcanm.MCAnm;
import com.github.worldsender.mcanm.Reference;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.resources.I18n;
import net.minecraftforge.fml.client.config.GuiConfig;
import net.minecraftforge.fml.client.config.IConfigElement;

package com.github.worldsender.mcanm.client.config;




public class MCAnmGUI extends GuiConfig {

	public MCAnmGUI(GuiScreen parent) {

// Path: src/main/java/com/github/worldsender/mcanm/MCAnm.java
// @Mod(
// 		modid = Reference.core_modid,
// 		name = Reference.core_modname,
// 		version = Reference.core_modversion,
// 		guiFactory = "com.github.worldsender.mcanm.client.config.MCAnmGuiFactory")
// public class MCAnm {
// 	/**
// 	 * Enables various visual outputs, e.g. the bones of models are rendered.
// 	 */
// 	public static final boolean isDebug;
// 	static {
// 		Object deobfEnv = Launch.blackboard.get("fml.deobfuscatedEnvironment");
// 		Boolean isDeobfEnv = deobfEnv instanceof Boolean ? (Boolean) deobfEnv : null;
// 		isDebug = isDeobfEnv == null ? false : isDeobfEnv.booleanValue();
// 	}
// 
// 	@Mod.Instance(Reference.core_modid)
// 	public static MCAnm instance;
// 
// 	@SidedProxy(
// 			modId = Reference.core_modid,
// 			clientSide = "com.github.worldsender.mcanm.client.ClientProxy",
// 			serverSide = "com.github.worldsender.mcanm.server.ServerProxy")
// 	public static Proxy proxy;
// 
// 	private MCAnmConfiguration config;
// 	private Logger logger;
// 
// 	@Mod.EventHandler
// 	public void preInit(FMLPreInitializationEvent pre) {
// 		logger = pre.getModLog();
// 		config = new MCAnmConfiguration(pre.getSuggestedConfigurationFile());
// 		proxy.preInit();
// 		MinecraftForge.EVENT_BUS.register(this);
// 		logger.info("Successfully loaded MC Animations");
// 	}
// 
// 	@Mod.EventHandler
// 	public void init(@SuppressWarnings("unused") FMLInitializationEvent event) {
// 		if (isDebug) {
// 			ResourceLocation ID_CUBE = new ResourceLocation("mcanm:cube");
// 			ResourceLocation ID_CUBE_V2 = new ResourceLocation("mcanm:cube2");
// 			EntityRegistry.registerModEntity(ID_CUBE, CubeEntity.class, "Cube", 0, this, 80, 1, true);
// 			EntityRegistry.registerModEntity(ID_CUBE_V2, CubeEntityV2.class, "CubeV2", 1, this, 80, 1, true);
// 		}
// 		proxy.init();
// 	}
// 
// 	@SubscribeEvent
// 	public void onConfigChange(OnConfigChangedEvent occe) {
// 		if (!occe.getModID().equals(Reference.core_modid))
// 			return;
// 		config.onConfigChange(occe);
// 	}
// 
// 	public static MCAnmConfiguration configuration() {
// 		return instance.getConfiguration();
// 	}
// 
// 	public MCAnmConfiguration getConfiguration() {
// 		return this.config;
// 	}
// 
// 	public static Logger logger() {
// 		return instance.getLogger();
// 	}
// 
// 	public Logger getLogger() {
// 		return this.logger;
// 	}
// }
// 
// Path: src/main/java/com/github/worldsender/mcanm/Reference.java
// public class Reference {
// 
// 	public static final String config_reload_enabled = "enableReload";
// 	public static final String gui_config_title = "mcanm.config.title";
// 	public static final String gui_config_reload_enabled = "mcanm.config.autoreload";
// 	public static final String[] model_suffix_list = { ".mhmd" };
// 	public static final String model_type = "model_type";
// 
// 	public static final String core_modid = "@modid@";
// 	public static final String core_modname = "@MODNAME@";
// 	public static final String core_modversion = "@VERSION@";
// }


// Path: src/main/java/com/github/worldsender/mcanm/client/config/MCAnmGUI.java
import java.util.ArrayList;
import java.util.List;
import com.github.worldsender.mcanm.MCAnm;
import com.github.worldsender.mcanm.Reference;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.resources.I18n;
import net.minecraftforge.fml.client.config.GuiConfig;
import net.minecraftforge.fml.client.config.IConfigElement;

package com.github.worldsender.mcanm.client.config;




public class MCAnmGUI extends GuiConfig {

	public MCAnmGUI(GuiScreen parent) {

		super(parent, getConfigElements(), Reference.core_modid, false, false, I18n.format(Reference.gui_config_title));
