// Path: src/main/java/net/mcft/copy/backpacks/WearableBackpacks.java
// @Mod(modid = WearableBackpacks.MOD_ID, name = WearableBackpacks.MOD_NAME,
//      version = WearableBackpacks.VERSION, dependencies = "required-after:forge@[14.21.0.2375,)",
//      guiFactory = "net.mcft.copy.backpacks.client.BackpacksGuiFactory")
// public class WearableBackpacks {
// 	
// 	public static final String MOD_ID   = "wearablebackpacks";
// 	public static final String MOD_NAME = "Wearable Backpacks";
// 	public static final String VERSION  = "@VERSION@";
// 	
// 	@Instance
// 	public static WearableBackpacks INSTANCE;
// 	
// 	@SidedProxy(serverSide = "net.mcft.copy.backpacks.ProxyCommon",
// 	            clientSide = "net.mcft.copy.backpacks.ProxyClient")
// 	public static ProxyCommon PROXY;
// 	
// 	public static Logger LOG;
// 	public static BackpacksChannel CHANNEL;
// 	public static BackpacksConfig CONFIG;
// 	public static BackpacksContent CONTENT;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		LOG = event.getModLog();
// 		CHANNEL = new BackpacksChannel();
// 		
// 		CONFIG = new BackpacksConfig(event.getSuggestedConfigurationFile());
// 		CONFIG.load();
// 		CONFIG.save();
// 		
// 		CONTENT = new BackpacksContent();
// 		CONTENT.registerRecipes();
// 		
// 		PROXY.preInit();
// 	}
// 	
// 	@EventHandler
// 	public void init(FMLInitializationEvent event) {
// 		CONFIG.init();
// 		PROXY.init();
// 	}
// 	
// }


import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.mcft.copy.backpacks.WearableBackpacks;
package net.mcft.copy.backpacks.client;




@SideOnly(Side.CLIENT)
public class GuiTextureResource extends ResourceLocation {
	
	public final int defaultWidth;
	public final int defaultHeight;
	
	public GuiTextureResource(String location, int defaultWidth, int defaultHeight) {
// Path: src/main/java/net/mcft/copy/backpacks/WearableBackpacks.java
// @Mod(modid = WearableBackpacks.MOD_ID, name = WearableBackpacks.MOD_NAME,
//      version = WearableBackpacks.VERSION, dependencies = "required-after:forge@[14.21.0.2375,)",
//      guiFactory = "net.mcft.copy.backpacks.client.BackpacksGuiFactory")
// public class WearableBackpacks {
// 	
// 	public static final String MOD_ID   = "wearablebackpacks";
// 	public static final String MOD_NAME = "Wearable Backpacks";
// 	public static final String VERSION  = "@VERSION@";
// 	
// 	@Instance
// 	public static WearableBackpacks INSTANCE;
// 	
// 	@SidedProxy(serverSide = "net.mcft.copy.backpacks.ProxyCommon",
// 	            clientSide = "net.mcft.copy.backpacks.ProxyClient")
// 	public static ProxyCommon PROXY;
// 	
// 	public static Logger LOG;
// 	public static BackpacksChannel CHANNEL;
// 	public static BackpacksConfig CONFIG;
// 	public static BackpacksContent CONTENT;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		LOG = event.getModLog();
// 		CHANNEL = new BackpacksChannel();
// 		
// 		CONFIG = new BackpacksConfig(event.getSuggestedConfigurationFile());
// 		CONFIG.load();
// 		CONFIG.save();
// 		
// 		CONTENT = new BackpacksContent();
// 		CONTENT.registerRecipes();
// 		
// 		PROXY.preInit();
// 	}
// 	
// 	@EventHandler
// 	public void init(FMLInitializationEvent event) {
// 		CONFIG.init();
// 		PROXY.init();
// 	}
// 	
// }


// Path: src/main/java/net/mcft/copy/backpacks/client/GuiTextureResource.java
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.mcft.copy.backpacks.WearableBackpacks;

package net.mcft.copy.backpacks.client;




@SideOnly(Side.CLIENT)
public class GuiTextureResource extends ResourceLocation {
	
	public final int defaultWidth;
	public final int defaultHeight;
	
	public GuiTextureResource(String location, int defaultWidth, int defaultHeight) {
		super(WearableBackpacks.MOD_ID, "textures/gui/" + location + ".png");