// Path: java/net/gtn/dimensionalpocket/client/gui/components/GuiArrow.java
// @SideOnly(Side.CLIENT)
// public class GuiArrow extends GuiTexturedButton<GuiArrow> {
// 
// 	public GuiArrow(int x, int y) {
// 		super(x, y, 0, 180, 18, 10);
// 	}
// 
// 	@Override
// 	public int getTextureXShift(int pass) {
// 		return 23 * pass;
// 	}
// }
// 
// Path: java/net/gtn/dimensionalpocket/client/gui/components/GuiItemStack.java
// public class GuiItemStack extends GuiWidget<GuiItemStack> {
// 
// 	private ItemStack itemStack = new ItemStack(Blocks.stone);
// 
// 	public GuiItemStack(ItemStack itemStack, int x, int y) {
// 		super(x, y, 19, 19);
// 		this.itemStack = itemStack;
// 	}
// 
// 	public void setItemStack(ItemStack itemStack) {
// 		this.itemStack = itemStack;
// 	}
// 
// 	public ItemStack getItemStack() {
// 		return itemStack;
// 	}
// 
// 	@Override
// 	public boolean shouldPlaySoundOnClick() {
// 		return false;
// 	}
// 
// 	@Override
// 	public void renderBackground(int mouseX, int mouseY) {
// 		RenderUtils.renderItemStackInGUI(itemStack, fontRendererObj, itemRender, x + 2, y + 2, 100.0F);
// 	}
// 
// 	@Override
// 	public void renderForeground(int mouseX, int mouseY) {
// 		if (canClick(mouseX, mouseY)) {
// 			renderToolTip(itemStack, mouseX, mouseY);
// 		}
// 	}
// }
// 
// Path: java/net/gtn/dimensionalpocket/client/utils/GuiSheet.java
// @SideOnly(Side.CLIENT)
// public class GuiSheet {
// 
// 	private static final String GUI_SHEET_LOCATION = "textures/gui/";
// 
// 	public static final ResourceLocation GUI_INFO_BOOK = getResource("guideDP");
// 
// 	private static ResourceLocation getResource(String loc) {
// 		return new ResourceLocation(Reference.MOD_ID.toLowerCase(), GUI_SHEET_LOCATION + loc + ".png");
// 	}
// 
// }


import static org.lwjgl.opengl.GL11.*;
import net.gtn.dimensionalpocket.oc.client.gui.GuiContainerAbstract;
import net.gtn.dimensionalpocket.oc.client.gui.components.GuiWidget;
import net.gtn.dimensionalpocket.oc.client.lib.Colour;
import net.gtn.dimensionalpocket.client.ClientProxy;
import net.gtn.dimensionalpocket.client.gui.components.GuiArrow;
import net.gtn.dimensionalpocket.client.gui.components.GuiItemStack;
import net.gtn.dimensionalpocket.client.utils.GuiSheet;
import net.gtn.dimensionalpocket.client.utils.RecipeHelper;
import net.gtn.dimensionalpocket.common.core.utils.DPLogger;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper;
import net.minecraft.util.StatCollector;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
package net.gtn.dimensionalpocket.client.gui;



@SideOnly(Side.CLIENT)
public class GuiInfoBook extends GuiContainerAbstract {
	private GuiWidget<GuiArrow> rightArrow, leftArrow;
	private GuiItemStack itemStackArray[] = new GuiItemStack[10];

	private int currentPage;

	private int MAX_PAGE;
	private int CRAFTING_RECIPE_POCKET;
	private int CRAFTING_RECIPE_END_CRYSTAL;
	private int CRAFTING_RECIPE_NETHER_CRYSTAL;

	public GuiInfoBook(EntityPlayer player) {
		super(player);
// Path: java/net/gtn/dimensionalpocket/client/gui/components/GuiArrow.java
// @SideOnly(Side.CLIENT)
// public class GuiArrow extends GuiTexturedButton<GuiArrow> {
// 
// 	public GuiArrow(int x, int y) {
// 		super(x, y, 0, 180, 18, 10);
// 	}
// 
// 	@Override
// 	public int getTextureXShift(int pass) {
// 		return 23 * pass;
// 	}
// }
// 
// Path: java/net/gtn/dimensionalpocket/client/gui/components/GuiItemStack.java
// public class GuiItemStack extends GuiWidget<GuiItemStack> {
// 
// 	private ItemStack itemStack = new ItemStack(Blocks.stone);
// 
// 	public GuiItemStack(ItemStack itemStack, int x, int y) {
// 		super(x, y, 19, 19);
// 		this.itemStack = itemStack;
// 	}
// 
// 	public void setItemStack(ItemStack itemStack) {
// 		this.itemStack = itemStack;
// 	}
// 
// 	public ItemStack getItemStack() {
// 		return itemStack;
// 	}
// 
// 	@Override
// 	public boolean shouldPlaySoundOnClick() {
// 		return false;
// 	}
// 
// 	@Override
// 	public void renderBackground(int mouseX, int mouseY) {
// 		RenderUtils.renderItemStackInGUI(itemStack, fontRendererObj, itemRender, x + 2, y + 2, 100.0F);
// 	}
// 
// 	@Override
// 	public void renderForeground(int mouseX, int mouseY) {
// 		if (canClick(mouseX, mouseY)) {
// 			renderToolTip(itemStack, mouseX, mouseY);
// 		}
// 	}
// }
// 
// Path: java/net/gtn/dimensionalpocket/client/utils/GuiSheet.java
// @SideOnly(Side.CLIENT)
// public class GuiSheet {
// 
// 	private static final String GUI_SHEET_LOCATION = "textures/gui/";
// 
// 	public static final ResourceLocation GUI_INFO_BOOK = getResource("guideDP");
// 
// 	private static ResourceLocation getResource(String loc) {
// 		return new ResourceLocation(Reference.MOD_ID.toLowerCase(), GUI_SHEET_LOCATION + loc + ".png");
// 	}
// 
// }


// Path: java/net/gtn/dimensionalpocket/client/gui/GuiInfoBook.java
import static org.lwjgl.opengl.GL11.*;
import net.gtn.dimensionalpocket.oc.client.gui.GuiContainerAbstract;
import net.gtn.dimensionalpocket.oc.client.gui.components.GuiWidget;
import net.gtn.dimensionalpocket.oc.client.lib.Colour;
import net.gtn.dimensionalpocket.client.ClientProxy;
import net.gtn.dimensionalpocket.client.gui.components.GuiArrow;
import net.gtn.dimensionalpocket.client.gui.components.GuiItemStack;
import net.gtn.dimensionalpocket.client.utils.GuiSheet;
import net.gtn.dimensionalpocket.client.utils.RecipeHelper;
import net.gtn.dimensionalpocket.common.core.utils.DPLogger;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper;
import net.minecraft.util.StatCollector;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

package net.gtn.dimensionalpocket.client.gui;



@SideOnly(Side.CLIENT)
public class GuiInfoBook extends GuiContainerAbstract {
	private GuiWidget<GuiArrow> rightArrow, leftArrow;
	private GuiItemStack itemStackArray[] = new GuiItemStack[10];

	private int currentPage;

	private int MAX_PAGE;
	private int CRAFTING_RECIPE_POCKET;
	private int CRAFTING_RECIPE_END_CRYSTAL;
	private int CRAFTING_RECIPE_NETHER_CRYSTAL;

	public GuiInfoBook(EntityPlayer player) {
		super(player);
		setMainTexture(GuiSheet.GUI_INFO_BOOK);