// Path: com/bafomdad/realfilingcabinet/RealFilingCabinet.java
// @Mod(modid=RealFilingCabinet.MOD_ID, name=RealFilingCabinet.MOD_NAME, version=RealFilingCabinet.VERSION, dependencies = "after:forge@[" + RealFilingCabinet.FORGE_VER + ",);")
// public class RealFilingCabinet {
// 
// 	public static final String MOD_ID = "realfilingcabinet";
// 	public static final String MOD_NAME = "Real Filing Cabinet";
// 	public static final String VERSION = "@VERSION@";
// 	public static final String FORGE_VER = "14.21.0.2363";
// 	
// 	// intentional typo in order to disable integration with storage drawers for now
// 	public static final String STORAGEDRAWERS = "storageDrawers";
// 	
// 	@SidedProxy(clientSide="com.bafomdad.realfilingcabinet.proxies.ClientProxy", serverSide="com.bafomdad.realfilingcabinet.proxies.CommonProxy")
// 	public static CommonProxy proxy;
// 	
// 	@Mod.Instance(MOD_ID)
// 	public static RealFilingCabinet instance;
// 	
// 	public static Logger logger;
// 	
// 	public static boolean botaniaLoaded = Loader.isModLoaded("botania");
// 	public static boolean topLoaded = Loader.isModLoaded("theoneprobe");
// 	public static boolean wailaLoaded = Loader.isModLoaded("waila");
// 	public static boolean tcLoaded = Loader.isModLoaded("thaumcraft");
// 	public static boolean crtLoaded = Loader.isModLoaded("crafttweaker");
// 	
// 	@Mod.EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		
// 		NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandlerRFC());
// 		NewConfigRFC.preInit(event);
// 		logger = event.getModLog();
// 		
// 		proxy.preInit(event);
// 		proxy.initAllModels();
// 	}
// 	
// 	@Mod.EventHandler
// 	public void init(FMLInitializationEvent event) {
// 
// 		proxy.init(event);
// 	}
// 	
// 	@Mod.EventHandler
// 	public void postInit(FMLPostInitializationEvent event) {
// 		
// 		proxy.postInit(event);
// 		MinecraftForge.EVENT_BUS.register(new EventHandlerServer());
// 		CapabilityProviderFolder.register();
// 	}
// 	
// 	@Mod.EventHandler
// 	public void serverLoad(FMLServerStartingEvent event) {
// 		
// 		event.registerServerCommand(new CommandRFC());
// 	}
// }


import org.lwjgl.opengl.GL11;
import com.bafomdad.realfilingcabinet.RealFilingCabinet;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.inventory.Container;
import net.minecraft.util.ResourceLocation;
package com.bafomdad.realfilingcabinet.gui;




public class GuiContainerRFC extends GuiContainer {
	
	private static final ResourceLocation texture = new ResourceLocation(RealFilingCabinet.MOD_ID, "textures/gui/guicabinet.png");

	public GuiContainerRFC(Container cont) {
		
		super(cont);
		this.xSize = 176;
		this.ySize = 131;
	}
	
	@Override
	public void drawScreen(int mouseX, int mouseY, float partialTicks) {
		
		this.drawDefaultBackground();
		super.drawScreen(mouseX, mouseY, partialTicks);
		this.renderHoveredToolTip(mouseX, mouseY);
	}
	
	@Override
	protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
		
		String s = "Filing Cabinet";
		fontRenderer.drawString(s, xSize / 2 - fontRenderer.getStringWidth(s) / 2, 6, 4210752);
	}

	@Override
	protected void drawGuiContainerBackgroundLayer(float f, int i, int j) {

		GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
		this.mc.renderEngine.bindTexture(texture);
		
		int k = (this.width - this.xSize) / 2;
// Path: com/bafomdad/realfilingcabinet/RealFilingCabinet.java
// @Mod(modid=RealFilingCabinet.MOD_ID, name=RealFilingCabinet.MOD_NAME, version=RealFilingCabinet.VERSION, dependencies = "after:forge@[" + RealFilingCabinet.FORGE_VER + ",);")
// public class RealFilingCabinet {
// 
// 	public static final String MOD_ID = "realfilingcabinet";
// 	public static final String MOD_NAME = "Real Filing Cabinet";
// 	public static final String VERSION = "@VERSION@";
// 	public static final String FORGE_VER = "14.21.0.2363";
// 	
// 	// intentional typo in order to disable integration with storage drawers for now
// 	public static final String STORAGEDRAWERS = "storageDrawers";
// 	
// 	@SidedProxy(clientSide="com.bafomdad.realfilingcabinet.proxies.ClientProxy", serverSide="com.bafomdad.realfilingcabinet.proxies.CommonProxy")
// 	public static CommonProxy proxy;
// 	
// 	@Mod.Instance(MOD_ID)
// 	public static RealFilingCabinet instance;
// 	
// 	public static Logger logger;
// 	
// 	public static boolean botaniaLoaded = Loader.isModLoaded("botania");
// 	public static boolean topLoaded = Loader.isModLoaded("theoneprobe");
// 	public static boolean wailaLoaded = Loader.isModLoaded("waila");
// 	public static boolean tcLoaded = Loader.isModLoaded("thaumcraft");
// 	public static boolean crtLoaded = Loader.isModLoaded("crafttweaker");
// 	
// 	@Mod.EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		
// 		NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandlerRFC());
// 		NewConfigRFC.preInit(event);
// 		logger = event.getModLog();
// 		
// 		proxy.preInit(event);
// 		proxy.initAllModels();
// 	}
// 	
// 	@Mod.EventHandler
// 	public void init(FMLInitializationEvent event) {
// 
// 		proxy.init(event);
// 	}
// 	
// 	@Mod.EventHandler
// 	public void postInit(FMLPostInitializationEvent event) {
// 		
// 		proxy.postInit(event);
// 		MinecraftForge.EVENT_BUS.register(new EventHandlerServer());
// 		CapabilityProviderFolder.register();
// 	}
// 	
// 	@Mod.EventHandler
// 	public void serverLoad(FMLServerStartingEvent event) {
// 		
// 		event.registerServerCommand(new CommandRFC());
// 	}
// }


// Path: com/bafomdad/realfilingcabinet/gui/GuiContainerRFC.java
import org.lwjgl.opengl.GL11;
import com.bafomdad.realfilingcabinet.RealFilingCabinet;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.inventory.Container;
import net.minecraft.util.ResourceLocation;

package com.bafomdad.realfilingcabinet.gui;




public class GuiContainerRFC extends GuiContainer {
	
	private static final ResourceLocation texture = new ResourceLocation(RealFilingCabinet.MOD_ID, "textures/gui/guicabinet.png");

	public GuiContainerRFC(Container cont) {
		
		super(cont);
		this.xSize = 176;
		this.ySize = 131;
	}
	
	@Override
	public void drawScreen(int mouseX, int mouseY, float partialTicks) {
		
		this.drawDefaultBackground();
		super.drawScreen(mouseX, mouseY, partialTicks);
		this.renderHoveredToolTip(mouseX, mouseY);
	}
	
	@Override
	protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
		
		String s = "Filing Cabinet";
		fontRenderer.drawString(s, xSize / 2 - fontRenderer.getStringWidth(s) / 2, 6, 4210752);
	}

	@Override
	protected void drawGuiContainerBackgroundLayer(float f, int i, int j) {

		GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
		this.mc.renderEngine.bindTexture(texture);
		
		int k = (this.width - this.xSize) / 2;
		int l = (this.height - this.ySize) / 2;