// Path: src/main/java/com/team/kalstuff/block/KalStuffBlocks.java
// @GameRegistry.ObjectHolder("kalstuff")
// @Mod.EventBusSubscriber(modid = "kalstuff")
// public class KalStuffBlocks
// {
// 	// ---Please keep all blocks in alphabetical order!--- //
// 	public static final Block APPLE_BLOCK = Blocks.AIR;
// 	public static final Block BAKED_POTATO_BLOCK = Blocks.AIR;
// 	public static final Block BLAZE_BLOCK = Blocks.AIR;
// 	public static final Block BRIDGE = Blocks.AIR;
// 	public static final Block CARROT_BLOCK = Blocks.AIR;
// 	public static final Block CHICKEN_NEST = Blocks.AIR;
// 	public static final Block ENDER_BLOCK = Blocks.AIR;
// 	public static final Block GRAPE_VINE = Blocks.AIR;
// 	public static final Block GREAT_GRAPE = Blocks.AIR;
// 	public static final Block MOON_FLOWER = Blocks.AIR;
// 	public static final Block MOON_FLOWER1 = Blocks.AIR;
// 	public static final Block MOON_FLOWER2 = Blocks.AIR;
// 	public static final Block MOON_FLOWER3 = Blocks.AIR;
// 	public static final Block MOON_FLOWER4 = Blocks.AIR;
// 	public static final Block MOON_FLOWER5 = Blocks.AIR;
// 	public static final Block POTATO_BLOCK = Blocks.AIR;
// 	public static final Block TRASH_CAN = Blocks.AIR;
// 	public static final Block WILD_GRAPE_VINE = Blocks.AIR;
// 
// 	/**
// 	 * Registers all blocks from the mod.
// 	 */
// 	@SubscribeEvent
// 	public static void registerBlocks(Register<Block> event)
// 	{
// 		IForgeRegistry<Block> reg = event.getRegistry();
// 		// remember to register ItemBlocks in KalStuffItems, and
// 		// please continue to keep all blocks in alphabetical order
// 
// 		reg.register(new BlockFood(1.5F, 9, 2.4F, "apple_block"));
// 		reg.register(new BlockBakedPotato(1.5F, 11, 6F, "baked_potato_block"));
// 		reg.register(new BlockKalStuff(Material.IRON, SoundType.METAL, "blaze_block").setHardness(35.0F));
// 		reg.register(new BlockBridge("bridge"));
// 		reg.register(new BlockFood(11.5F, 7, 4.8F, "carrot_block"));
// 		reg.register(new BlockChickenNest("chicken_nest"));
// 		reg.register(new BlockKalStuff(Material.IRON, SoundType.METAL, "ender_block").setHardness(5.0F));
// 		reg.register(new BlockGrapeVine("grape_vine"));
// 		reg.register(new BlockKalStuff(Material.SPONGE, SoundType.CLOTH, "great_grape"));
// 		// only the first BlockMoonFlower should appear in the Creative inventory
// 		reg.register(new BlockMoonFlower(0, "moon_flower").setCreativeTab(CommonProxy.KALSTUFFTAB));
// 		reg.register(new BlockMoonFlower(1, "moon_flower1"));
// 		reg.register(new BlockMoonFlower(2, "moon_flower2"));
// 		reg.register(new BlockMoonFlower(3, "moon_flower3"));
// 		reg.register(new BlockMoonFlower(4, "moon_flower4"));
// 		reg.register(new BlockMoonFlower(5, "moon_flower5"));
// 		reg.register(new BlockFood(1.5F, 3, 0.6F, "potato_block"));
// 		reg.register(new BlockTrashCan("trash_can"));
// 		reg.register(new BlockWildGrapeVine("wild_grape_vine"));
// 	}
// }


import com.team.kalstuff.block.KalStuffBlocks;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
package com.team.kalstuff.gui;



@SideOnly(Side.CLIENT)
public class GuiChickenNest extends GuiContainer
{
	// this is the resource location for the background image for the GUI
	private static final ResourceLocation texture = new ResourceLocation("kalstuff", "textures/gui/chicken_nest.png");
	private InventoryPlayer playerInv;

	public GuiChickenNest(Container container, InventoryPlayer playerInv)
	{
		super(container);
		this.playerInv = playerInv;
		// set the width and height of the GUI. Should match the size of the texture!
		xSize = 176;
		ySize = 133;
	}

	@Override
	protected void drawGuiContainerBackgroundLayer(float partialTicks, int x, int y)
	{
		// bind the image texture of our custom container
		Minecraft.getMinecraft().getTextureManager().bindTexture(texture);
		// draw the image
		GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
		drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);
	}

	@Override
	protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
	{
// Path: src/main/java/com/team/kalstuff/block/KalStuffBlocks.java
// @GameRegistry.ObjectHolder("kalstuff")
// @Mod.EventBusSubscriber(modid = "kalstuff")
// public class KalStuffBlocks
// {
// 	// ---Please keep all blocks in alphabetical order!--- //
// 	public static final Block APPLE_BLOCK = Blocks.AIR;
// 	public static final Block BAKED_POTATO_BLOCK = Blocks.AIR;
// 	public static final Block BLAZE_BLOCK = Blocks.AIR;
// 	public static final Block BRIDGE = Blocks.AIR;
// 	public static final Block CARROT_BLOCK = Blocks.AIR;
// 	public static final Block CHICKEN_NEST = Blocks.AIR;
// 	public static final Block ENDER_BLOCK = Blocks.AIR;
// 	public static final Block GRAPE_VINE = Blocks.AIR;
// 	public static final Block GREAT_GRAPE = Blocks.AIR;
// 	public static final Block MOON_FLOWER = Blocks.AIR;
// 	public static final Block MOON_FLOWER1 = Blocks.AIR;
// 	public static final Block MOON_FLOWER2 = Blocks.AIR;
// 	public static final Block MOON_FLOWER3 = Blocks.AIR;
// 	public static final Block MOON_FLOWER4 = Blocks.AIR;
// 	public static final Block MOON_FLOWER5 = Blocks.AIR;
// 	public static final Block POTATO_BLOCK = Blocks.AIR;
// 	public static final Block TRASH_CAN = Blocks.AIR;
// 	public static final Block WILD_GRAPE_VINE = Blocks.AIR;
// 
// 	/**
// 	 * Registers all blocks from the mod.
// 	 */
// 	@SubscribeEvent
// 	public static void registerBlocks(Register<Block> event)
// 	{
// 		IForgeRegistry<Block> reg = event.getRegistry();
// 		// remember to register ItemBlocks in KalStuffItems, and
// 		// please continue to keep all blocks in alphabetical order
// 
// 		reg.register(new BlockFood(1.5F, 9, 2.4F, "apple_block"));
// 		reg.register(new BlockBakedPotato(1.5F, 11, 6F, "baked_potato_block"));
// 		reg.register(new BlockKalStuff(Material.IRON, SoundType.METAL, "blaze_block").setHardness(35.0F));
// 		reg.register(new BlockBridge("bridge"));
// 		reg.register(new BlockFood(11.5F, 7, 4.8F, "carrot_block"));
// 		reg.register(new BlockChickenNest("chicken_nest"));
// 		reg.register(new BlockKalStuff(Material.IRON, SoundType.METAL, "ender_block").setHardness(5.0F));
// 		reg.register(new BlockGrapeVine("grape_vine"));
// 		reg.register(new BlockKalStuff(Material.SPONGE, SoundType.CLOTH, "great_grape"));
// 		// only the first BlockMoonFlower should appear in the Creative inventory
// 		reg.register(new BlockMoonFlower(0, "moon_flower").setCreativeTab(CommonProxy.KALSTUFFTAB));
// 		reg.register(new BlockMoonFlower(1, "moon_flower1"));
// 		reg.register(new BlockMoonFlower(2, "moon_flower2"));
// 		reg.register(new BlockMoonFlower(3, "moon_flower3"));
// 		reg.register(new BlockMoonFlower(4, "moon_flower4"));
// 		reg.register(new BlockMoonFlower(5, "moon_flower5"));
// 		reg.register(new BlockFood(1.5F, 3, 0.6F, "potato_block"));
// 		reg.register(new BlockTrashCan("trash_can"));
// 		reg.register(new BlockWildGrapeVine("wild_grape_vine"));
// 	}
// }


// Path: src/main/java/com/team/kalstuff/gui/GuiChickenNest.java
import com.team.kalstuff.block.KalStuffBlocks;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

package com.team.kalstuff.gui;



@SideOnly(Side.CLIENT)
public class GuiChickenNest extends GuiContainer
{
	// this is the resource location for the background image for the GUI
	private static final ResourceLocation texture = new ResourceLocation("kalstuff", "textures/gui/chicken_nest.png");
	private InventoryPlayer playerInv;

	public GuiChickenNest(Container container, InventoryPlayer playerInv)
	{
		super(container);
		this.playerInv = playerInv;
		// set the width and height of the GUI. Should match the size of the texture!
		xSize = 176;
		ySize = 133;
	}

	@Override
	protected void drawGuiContainerBackgroundLayer(float partialTicks, int x, int y)
	{
		// bind the image texture of our custom container
		Minecraft.getMinecraft().getTextureManager().bindTexture(texture);
		// draw the image
		GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
		drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);
	}

	@Override
	protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
	{
		String name = I18n.format(KalStuffBlocks.CHICKEN_NEST.getUnlocalizedName() + ".name");