Added more recipes, made Imbued Spell Enhancements craftable

This commit is contained in:
WayofTime committed 2014-12-05 12:13:10 -05:00
1 parent 41c8d888b9
commit 574f43010d
24 files changed
+295 -23

No files matched your search

@@ -0,0 +1,48 @@
package WayofTime.alchemicalWizardry.common.items;
import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
public class ItemCrystalBlock extends ItemBlock
{
public ItemCrystalBlock(Block par1)
{
super(par1);
setHasSubtypes(true);
}
public String getUnlocalizedName(ItemStack itemstack)
{
String name = "";
switch (itemstack.getItemDamage())
{
case 0:
{
name = "fullCrystal";
break;
}
case 1:
{
name = "crystalBrick";
break;
}
default:
name = "broken";
}
return getUnlocalizedName() + "." + name;
}
public int getMetadata(int par1)
{
return par1;
}
}