// Path: src/main/java/com/panicnot42/warpbook/core/IDeclareWarp.java
// public interface IDeclareWarp {
//   /** Used by the warpbook for generating it's listing.  Must be used for warp book pages */
//   String getName(World world, ItemStack stack);
//   
//   /** Gets the waypoint for this object */
//   Waypoint getWaypoint(EntityPlayer player, ItemStack stack);
//   
//   /** Does this stack have valid waypoint data? */
//   boolean hasValidData(ItemStack stack);
//   
// }
// 
// Path: src/main/java/com/panicnot42/warpbook/core/WarpColors.java
// public enum WarpColors {
// 	
// 	UNBOUND(0xC3C36A, 0xC3C36A),//The default tawny color of a warp page
// 	BOUND(0x098C76, 0x6CF4DC),//The color of an ender pearl
// 	//0x9F1CE5 The original ugly purple player page
// 	PLAYER(0x8e0000, 0xE13232),//Red color.. blood maybe?
// 	HYPER(0x09AA38, 0x53FF41),//Hyper Green
// 	DEATHLY(0x131313, 0x686868),//Near Black
// 	LEATHER(0x654b17, 0x654b17);//The color of vanilla books
// 	
// 	private int	color;
// 	private int specColor;
// 	
// 	WarpColors(int color, int specColor) {
// 		this.color = color;
// 		this.specColor = specColor;
// 	}
// 	
// 	public int getColor() {
// 		return color;
// 	}
// 	
// 	public int getSpecColor() {
// 		return specColor;
// 	}
// }
// 
// Path: src/main/java/com/panicnot42/warpbook/util/Waypoint.java
// public class Waypoint implements INBTSerializable {
// 	public String friendlyName, name;
// 	public int x, y, z, dim;
// 	
// 	public Waypoint(String friendlyName, String name, int x, int y, int z, int dim) {
// 		this.friendlyName = friendlyName;
// 		this.name = name;
// 		this.x = x;
// 		this.y = y;
// 		this.z = z;
// 		this.dim = dim;
// 	}
// 	
// 	public Waypoint(NBTTagCompound var1) {
// 		readFromNBT(var1);
// 	}
// 	
// 	@Override
// 	public void readFromNBT(NBTTagCompound var1) {
// 		this.friendlyName = var1.getString("friendlyName");
// 		this.x = var1.getInteger("x");
// 		this.y = var1.getInteger("y");
// 		this.z = var1.getInteger("z");
// 		this.dim = var1.getInteger("dim");
// 		this.name = var1.getString("name");
// 	}
// 	
// 	@Override
// 	public void writeToNBT(NBTTagCompound var1) {
// 		var1.setString("friendlyName", this.friendlyName);
// 		var1.setInteger("x", this.x);
// 		var1.setInteger("y", this.y);
// 		var1.setInteger("z", this.z);
// 		var1.setInteger("dim", this.dim);
// 		var1.setString("name", this.name);
// 	}
// 
// }
// 
// Path: src/main/java/com/panicnot42/warpbook/warps/Warp.java
// public class Warp implements IDeclareWarp {
// 
// 	public static final String unbound = "§4§kUnbound";
// 	public static final String ttprefix = "§a";
// 
// 	public static HashMap<String, Class<Warp>> warpRegistry = new HashMap<>();
// 	
// 	NBTTagCompound tag;
// 	
// 	public Warp() {
// 		tag = new NBTTagCompound();
// 	}
// 	
// 	public void setTag(NBTTagCompound tag) {
// 		this.tag  = tag;
// 	}
// 
// 	public NBTTagCompound getTag() {
// 		return tag;
// 	}
// 	
// 	@Override
// 	public String getName(World world, ItemStack stack) {
// 		return null;
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	public void addInformation(ItemStack stack, World world, List<String> tooltip, ITooltipFlag flagIn) {
// 		tooltip.add(ttprefix + getName(world, stack));
// 	}
// 	
// 	@Override
// 	public Waypoint getWaypoint(EntityPlayer player, ItemStack stack) {
// 		return null;
// 	}
// 
// 	@Override
// 	public boolean hasValidData(ItemStack stack) {
// 		return false;
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	public WarpColors getColor() {
// 		return WarpColors.UNBOUND;
// 	}
// 	
// }


import java.util.List;
import com.panicnot42.warpbook.core.IDeclareWarp;
import com.panicnot42.warpbook.core.WarpColors;
import com.panicnot42.warpbook.util.Waypoint;
import com.panicnot42.warpbook.warps.Warp;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
package com.panicnot42.warpbook.item;




public class WarpItem extends Item implements IDeclareWarp, IColorable {
	
	public static final String unbound = "§4§kUnbound";
	public static final String ttprefix = "§a";
	
// Path: src/main/java/com/panicnot42/warpbook/core/IDeclareWarp.java
// public interface IDeclareWarp {
//   /** Used by the warpbook for generating it's listing.  Must be used for warp book pages */
//   String getName(World world, ItemStack stack);
//   
//   /** Gets the waypoint for this object */
//   Waypoint getWaypoint(EntityPlayer player, ItemStack stack);
//   
//   /** Does this stack have valid waypoint data? */
//   boolean hasValidData(ItemStack stack);
//   
// }
// 
// Path: src/main/java/com/panicnot42/warpbook/core/WarpColors.java
// public enum WarpColors {
// 	
// 	UNBOUND(0xC3C36A, 0xC3C36A),//The default tawny color of a warp page
// 	BOUND(0x098C76, 0x6CF4DC),//The color of an ender pearl
// 	//0x9F1CE5 The original ugly purple player page
// 	PLAYER(0x8e0000, 0xE13232),//Red color.. blood maybe?
// 	HYPER(0x09AA38, 0x53FF41),//Hyper Green
// 	DEATHLY(0x131313, 0x686868),//Near Black
// 	LEATHER(0x654b17, 0x654b17);//The color of vanilla books
// 	
// 	private int	color;
// 	private int specColor;
// 	
// 	WarpColors(int color, int specColor) {
// 		this.color = color;
// 		this.specColor = specColor;
// 	}
// 	
// 	public int getColor() {
// 		return color;
// 	}
// 	
// 	public int getSpecColor() {
// 		return specColor;
// 	}
// }
// 
// Path: src/main/java/com/panicnot42/warpbook/util/Waypoint.java
// public class Waypoint implements INBTSerializable {
// 	public String friendlyName, name;
// 	public int x, y, z, dim;
// 	
// 	public Waypoint(String friendlyName, String name, int x, int y, int z, int dim) {
// 		this.friendlyName = friendlyName;
// 		this.name = name;
// 		this.x = x;
// 		this.y = y;
// 		this.z = z;
// 		this.dim = dim;
// 	}
// 	
// 	public Waypoint(NBTTagCompound var1) {
// 		readFromNBT(var1);
// 	}
// 	
// 	@Override
// 	public void readFromNBT(NBTTagCompound var1) {
// 		this.friendlyName = var1.getString("friendlyName");
// 		this.x = var1.getInteger("x");
// 		this.y = var1.getInteger("y");
// 		this.z = var1.getInteger("z");
// 		this.dim = var1.getInteger("dim");
// 		this.name = var1.getString("name");
// 	}
// 	
// 	@Override
// 	public void writeToNBT(NBTTagCompound var1) {
// 		var1.setString("friendlyName", this.friendlyName);
// 		var1.setInteger("x", this.x);
// 		var1.setInteger("y", this.y);
// 		var1.setInteger("z", this.z);
// 		var1.setInteger("dim", this.dim);
// 		var1.setString("name", this.name);
// 	}
// 
// }
// 
// Path: src/main/java/com/panicnot42/warpbook/warps/Warp.java
// public class Warp implements IDeclareWarp {
// 
// 	public static final String unbound = "§4§kUnbound";
// 	public static final String ttprefix = "§a";
// 
// 	public static HashMap<String, Class<Warp>> warpRegistry = new HashMap<>();
// 	
// 	NBTTagCompound tag;
// 	
// 	public Warp() {
// 		tag = new NBTTagCompound();
// 	}
// 	
// 	public void setTag(NBTTagCompound tag) {
// 		this.tag  = tag;
// 	}
// 
// 	public NBTTagCompound getTag() {
// 		return tag;
// 	}
// 	
// 	@Override
// 	public String getName(World world, ItemStack stack) {
// 		return null;
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	public void addInformation(ItemStack stack, World world, List<String> tooltip, ITooltipFlag flagIn) {
// 		tooltip.add(ttprefix + getName(world, stack));
// 	}
// 	
// 	@Override
// 	public Waypoint getWaypoint(EntityPlayer player, ItemStack stack) {
// 		return null;
// 	}
// 
// 	@Override
// 	public boolean hasValidData(ItemStack stack) {
// 		return false;
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	public WarpColors getColor() {
// 		return WarpColors.UNBOUND;
// 	}
// 	
// }


// Path: src/main/java/com/panicnot42/warpbook/item/WarpItem.java
import java.util.List;
import com.panicnot42.warpbook.core.IDeclareWarp;
import com.panicnot42.warpbook.core.WarpColors;
import com.panicnot42.warpbook.util.Waypoint;
import com.panicnot42.warpbook.warps.Warp;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

package com.panicnot42.warpbook.item;




public class WarpItem extends Item implements IDeclareWarp, IColorable {
	
	public static final String unbound = "§4§kUnbound";
	public static final String ttprefix = "§a";
	
	public Warp warp = new Warp();