package net.moritz.greatsword.item;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ActionResult;
import net.minecraft.util.EnumHand;
import net.minecraft.util.text.TextComponentString;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.oredict.OreDictionary;
import net.moritz.greatsword.Greatsword;
import net.moritz.greatsword.lib.Names;

public class BladeIron extends Item {
	
	public BladeIron() {

	  setMaxStackSize(64);
	  setCreativeTab(Greatsword.tabGreatsword);
	}


	public void addRecipes() {
		GameRegistry.addShapedRecipe(new ItemStack(this), "  l", " l ", "l  ", 'l', Items.IRON_INGOT);
	}

	@Override
	public String getUnlocalizedName(ItemStack stack) {

		return "item." + Greatsword.RESOURCE_PREFIX + Names.BLADE_IRON;
	}
}
