// Path: me/tyler15555/minibosses/util/Resources.java
// public class Resources {
// 
// 	public Resources() {
// 		
// 	}
// 	public static ArmorMaterial dark_iron;
// 	public static ArmorMaterial inferno;
// 	public static ToolMaterial feeder;
// 	
// 	public static final String MOD_VERSION = "1.2.8";
// 	
// 	//Stores mod's request to not allow an entity to spawn in a certain dimension. Messages should be formatted as EntityName:DimensionID
// 	public static HashMap<String, Integer> entityBlockList = new HashMap();
// 	
// 	public static String[] firstNames = new String[] {"Based Doge", "Occulus", "Lord", "Destroyer", "Darkness", "Queen", "Steve", "Tom", "LaKeesha", "Doge", "tyler15555", "2withyoda", "Larry", "Larone"};
// 	public static String[] lastNames = new String[] {"Venice", "Worlds", "The World", "Earth", "The Galaxy", "Your Mom", "The Woods", "Mountains", "Rivers", "Stankins"};
// 	
// 	public static String generateRandomName(Random random) {
// 		String ret = firstNames[random.nextInt(firstNames.length)] + " of " + lastNames[random.nextInt(lastNames.length)];
// 		return ret;
// 	}
// 	
// 	public static void setupArmorMaterials() {
// 	  dark_iron = EnumHelper.addArmorMaterial("DARKIRON", "dark_iron", 22, new int[] {3, 7, 5, 4}, 25);
// 	  inferno = EnumHelper.addArmorMaterial("INFERNO", "inferno", 20, new int[] {3, 6, 4, 4}, 8);
// 	  feeder = EnumHelper.addToolMaterial("FEEDER", 3, 500, 2.5F, 3.5F, 20);
// 	}
//     
// 	public static MBCreativeTab tabMB = new MBCreativeTab();
// 	
// }
// 
// Path: me/tyler15555/minibosses/util/NBTHelper.java
// public class NBTHelper {
// 
// 	public NBTHelper() {
// 		
// 	}
// 	
// 	private static void createNBTData(ItemStack stack) {
// 		if(stack.stackSize == 1 && stack.getTagCompound() == null) {
// 			stack.setTagCompound(new NBTTagCompound());
// 		} else {
// 			return;
// 		}
// 	}
// 	
// 	public static void writeIntToStack(ItemStack stack, String key, int val) {
// 		createNBTData(stack);
// 		stack.getTagCompound().setInteger(key, val);
// 	}
// 	
// 	public static int getIntFromStack(ItemStack stack, String key) {
// 		if(stack.getTagCompound() == null) {
// 			return 0;
// 		} else {
// 			return stack.getTagCompound().getInteger(key);
// 		}
// 	}
// 	
// 	public static void writeStringToStack(ItemStack stack, String key, String val) {
// 		createNBTData(stack);
// 		stack.getTagCompound().setString(key, val);
// 	}
// 	
// 	public static String getStringFromStack(ItemStack stack, String key) {
// 		if(stack.getTagCompound() == null) {
// 			return "";
// 		} else {
// 			return stack.getTagCompound().getString(key);
// 		}
// 	}
// 
// }


import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import me.tyler15555.minibosses.util.Resources;
import me.tyler15555.minibosses.util.NBTHelper;
package me.tyler15555.minibosses.item;



public class ItemSummonScroll extends Item {

	public ItemSummonScroll() {
		setCreativeTab(Resources.tabMB);
		setUnlocalizedName("summonScroll");
	}
	
	@SideOnly(Side.CLIENT)
// Path: me/tyler15555/minibosses/util/Resources.java
// public class Resources {
// 
// 	public Resources() {
// 		
// 	}
// 	public static ArmorMaterial dark_iron;
// 	public static ArmorMaterial inferno;
// 	public static ToolMaterial feeder;
// 	
// 	public static final String MOD_VERSION = "1.2.8";
// 	
// 	//Stores mod's request to not allow an entity to spawn in a certain dimension. Messages should be formatted as EntityName:DimensionID
// 	public static HashMap<String, Integer> entityBlockList = new HashMap();
// 	
// 	public static String[] firstNames = new String[] {"Based Doge", "Occulus", "Lord", "Destroyer", "Darkness", "Queen", "Steve", "Tom", "LaKeesha", "Doge", "tyler15555", "2withyoda", "Larry", "Larone"};
// 	public static String[] lastNames = new String[] {"Venice", "Worlds", "The World", "Earth", "The Galaxy", "Your Mom", "The Woods", "Mountains", "Rivers", "Stankins"};
// 	
// 	public static String generateRandomName(Random random) {
// 		String ret = firstNames[random.nextInt(firstNames.length)] + " of " + lastNames[random.nextInt(lastNames.length)];
// 		return ret;
// 	}
// 	
// 	public static void setupArmorMaterials() {
// 	  dark_iron = EnumHelper.addArmorMaterial("DARKIRON", "dark_iron", 22, new int[] {3, 7, 5, 4}, 25);
// 	  inferno = EnumHelper.addArmorMaterial("INFERNO", "inferno", 20, new int[] {3, 6, 4, 4}, 8);
// 	  feeder = EnumHelper.addToolMaterial("FEEDER", 3, 500, 2.5F, 3.5F, 20);
// 	}
//     
// 	public static MBCreativeTab tabMB = new MBCreativeTab();
// 	
// }
// 
// Path: me/tyler15555/minibosses/util/NBTHelper.java
// public class NBTHelper {
// 
// 	public NBTHelper() {
// 		
// 	}
// 	
// 	private static void createNBTData(ItemStack stack) {
// 		if(stack.stackSize == 1 && stack.getTagCompound() == null) {
// 			stack.setTagCompound(new NBTTagCompound());
// 		} else {
// 			return;
// 		}
// 	}
// 	
// 	public static void writeIntToStack(ItemStack stack, String key, int val) {
// 		createNBTData(stack);
// 		stack.getTagCompound().setInteger(key, val);
// 	}
// 	
// 	public static int getIntFromStack(ItemStack stack, String key) {
// 		if(stack.getTagCompound() == null) {
// 			return 0;
// 		} else {
// 			return stack.getTagCompound().getInteger(key);
// 		}
// 	}
// 	
// 	public static void writeStringToStack(ItemStack stack, String key, String val) {
// 		createNBTData(stack);
// 		stack.getTagCompound().setString(key, val);
// 	}
// 	
// 	public static String getStringFromStack(ItemStack stack, String key) {
// 		if(stack.getTagCompound() == null) {
// 			return "";
// 		} else {
// 			return stack.getTagCompound().getString(key);
// 		}
// 	}
// 
// }


// Path: me/tyler15555/minibosses/item/ItemSummonScroll.java
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import me.tyler15555.minibosses.util.Resources;
import me.tyler15555.minibosses.util.NBTHelper;

package me.tyler15555.minibosses.item;



public class ItemSummonScroll extends Item {

	public ItemSummonScroll() {
		setCreativeTab(Resources.tabMB);
		setUnlocalizedName("summonScroll");
	}
	
	@SideOnly(Side.CLIENT)
    public void addInformation(ItemStack stack, EntityPlayer player, List tooltip, boolean advanced) {