// Path: src/main/java/com/team/kalstuff/config/Config.java
// public class Config
// {
// 	public static File configurationFile;
// 	public static Configuration config;
// 
// 	public static final String CATEGORY_GENERAL = "General";
// 
// 	public static int cottageRarity = 512;
// 	public static boolean bridgeTNT = false;
// 
// 	public static final void initialize(FMLPreInitializationEvent e, File file)
// 	{
// 		config = new Configuration(file, KalStuff.VERSION, true);
// 		MinecraftForge.EVENT_BUS.register(new EventHandler());
// 		config.load();
// 		config.setCategoryRequiresWorldRestart(CATEGORY_GENERAL, false);
// 		config.setCategoryRequiresMcRestart(CATEGORY_GENERAL, false);
// 		config.setCategoryComment(CATEGORY_GENERAL, "General configuration");
// 		refresh();
// 		config.save();
// 	}
// 
// 	public static final Configuration getConfig()
// 	{
// 		return config;
// 	}
// 
// 	private static final void refresh()
// 	{
// 		cottageRarity = config.getInt("Cottage Rarity", CATEGORY_GENERAL, cottageRarity, 0, 16384,
// 				"Rarity for cottage generation");
// 		bridgeTNT = config.getBoolean("Allow Bridge TNT", CATEGORY_GENERAL, bridgeTNT,
// 				"Restricts bridge blocks from placing TNT");
// 	}
// 
// 	public static void add(List<IConfigElement> list)
// 	{
// 		list.add(new ConfigElement(config.getCategory(CATEGORY_GENERAL)));
// 	}
// 
// 	public static class EventHandler
// 	{
// 		@SubscribeEvent
// 		public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event)
// 		{
// 			if (event.getModID().equals(KalStuff.MODID))
// 			{
// 				refresh();
// 				if (config.hasChanged())
// 				{
// 					config.save();
// 				}
// 			}
// 		}
// 	}
// }
// 
// Path: src/main/java/com/team/kalstuff/proxy/CommonProxy.java
// @Mod.EventBusSubscriber
// public class CommonProxy
// {
// 	public static final CreativeTabs KALSTUFFTAB = new KalStuffCreativeTab("kalstuffTab");
// 
// 	public void preInit(FMLPreInitializationEvent e)
// 	{
// 		MinecraftForge.EVENT_BUS.register(new CoreEventHandler());
// 		KalStuffTileEntities.register();
// 		KalStuffWorldGenerator.register();
// 		KalStuffEntities.setup();
// 		NetworkRegistry.INSTANCE.registerGuiHandler(KalStuff.instance, new KalStuffGuiHandler());
// 	}
// 
// 	public void init(FMLInitializationEvent e)
// 	{
// 		KalStuffRecipes.add();
// 		KalStuffItems.configureItems();
// 		KalStuff.logger
// 				.info("Hi there, nerdy geeks. You should just enjoy Minecraft and stop looking at the system output.");
// 	}
// 
// 	public void postInit(FMLPostInitializationEvent e)
// 	{
// 		KalStuff.logger.info("Wait a minute... Guys! IT WORKS!?! WE MADE A MOD!!!");
// 	}
// }


import org.apache.logging.log4j.Logger;
import com.team.kalstuff.config.Config;
import com.team.kalstuff.proxy.CommonProxy;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
package com.team.kalstuff;




@Mod(modid = KalStuff.MODID,
	 name = KalStuff.NAME,
	 version = KalStuff.VERSION,
	 acceptedMinecraftVersions = "[1.12.2]",
	 useMetadata = true,
	 guiFactory = "com.team.kalstuff.config.KalStuffGuiFactory")
public class KalStuff
{
	public static final String MODID = "kalstuff";
	public static final String NAME = "KalStuff";
	public static final String VERSION = "1.0.0";

	@SidedProxy(clientSide = "com.team.kalstuff.proxy.ClientProxy",
			serverSide = "com.team.kalstuff.proxy.ServerProxy")
// Path: src/main/java/com/team/kalstuff/config/Config.java
// public class Config
// {
// 	public static File configurationFile;
// 	public static Configuration config;
// 
// 	public static final String CATEGORY_GENERAL = "General";
// 
// 	public static int cottageRarity = 512;
// 	public static boolean bridgeTNT = false;
// 
// 	public static final void initialize(FMLPreInitializationEvent e, File file)
// 	{
// 		config = new Configuration(file, KalStuff.VERSION, true);
// 		MinecraftForge.EVENT_BUS.register(new EventHandler());
// 		config.load();
// 		config.setCategoryRequiresWorldRestart(CATEGORY_GENERAL, false);
// 		config.setCategoryRequiresMcRestart(CATEGORY_GENERAL, false);
// 		config.setCategoryComment(CATEGORY_GENERAL, "General configuration");
// 		refresh();
// 		config.save();
// 	}
// 
// 	public static final Configuration getConfig()
// 	{
// 		return config;
// 	}
// 
// 	private static final void refresh()
// 	{
// 		cottageRarity = config.getInt("Cottage Rarity", CATEGORY_GENERAL, cottageRarity, 0, 16384,
// 				"Rarity for cottage generation");
// 		bridgeTNT = config.getBoolean("Allow Bridge TNT", CATEGORY_GENERAL, bridgeTNT,
// 				"Restricts bridge blocks from placing TNT");
// 	}
// 
// 	public static void add(List<IConfigElement> list)
// 	{
// 		list.add(new ConfigElement(config.getCategory(CATEGORY_GENERAL)));
// 	}
// 
// 	public static class EventHandler
// 	{
// 		@SubscribeEvent
// 		public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event)
// 		{
// 			if (event.getModID().equals(KalStuff.MODID))
// 			{
// 				refresh();
// 				if (config.hasChanged())
// 				{
// 					config.save();
// 				}
// 			}
// 		}
// 	}
// }
// 
// Path: src/main/java/com/team/kalstuff/proxy/CommonProxy.java
// @Mod.EventBusSubscriber
// public class CommonProxy
// {
// 	public static final CreativeTabs KALSTUFFTAB = new KalStuffCreativeTab("kalstuffTab");
// 
// 	public void preInit(FMLPreInitializationEvent e)
// 	{
// 		MinecraftForge.EVENT_BUS.register(new CoreEventHandler());
// 		KalStuffTileEntities.register();
// 		KalStuffWorldGenerator.register();
// 		KalStuffEntities.setup();
// 		NetworkRegistry.INSTANCE.registerGuiHandler(KalStuff.instance, new KalStuffGuiHandler());
// 	}
// 
// 	public void init(FMLInitializationEvent e)
// 	{
// 		KalStuffRecipes.add();
// 		KalStuffItems.configureItems();
// 		KalStuff.logger
// 				.info("Hi there, nerdy geeks. You should just enjoy Minecraft and stop looking at the system output.");
// 	}
// 
// 	public void postInit(FMLPostInitializationEvent e)
// 	{
// 		KalStuff.logger.info("Wait a minute... Guys! IT WORKS!?! WE MADE A MOD!!!");
// 	}
// }


// Path: src/main/java/com/team/kalstuff/KalStuff.java
import org.apache.logging.log4j.Logger;
import com.team.kalstuff.config.Config;
import com.team.kalstuff.proxy.CommonProxy;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

package com.team.kalstuff;




@Mod(modid = KalStuff.MODID,
	 name = KalStuff.NAME,
	 version = KalStuff.VERSION,
	 acceptedMinecraftVersions = "[1.12.2]",
	 useMetadata = true,
	 guiFactory = "com.team.kalstuff.config.KalStuffGuiFactory")
public class KalStuff
{
	public static final String MODID = "kalstuff";
	public static final String NAME = "KalStuff";
	public static final String VERSION = "1.0.0";

	@SidedProxy(clientSide = "com.team.kalstuff.proxy.ClientProxy",
			serverSide = "com.team.kalstuff.proxy.ServerProxy")
	public static CommonProxy proxy;