2014-01-17 19:12:49 +00:00
|
|
|
package WayofTime.alchemicalWizardry.common.items;
|
|
|
|
|
2014-01-17 21:54:16 +00:00
|
|
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
2014-01-17 21:54:58 +00:00
|
|
|
import WayofTime.alchemicalWizardry.ModItems;
|
2014-01-17 19:12:49 +00:00
|
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
2014-01-17 21:05:38 +00:00
|
|
|
import java.util.List;
|
|
|
|
|
2014-01-17 21:43:13 +00:00
|
|
|
public class AWBaseItems extends Item
|
|
|
|
{
|
2014-01-17 19:12:49 +00:00
|
|
|
public AWBaseItems(int id)
|
|
|
|
{
|
|
|
|
super(id);
|
|
|
|
setMaxStackSize(64);
|
|
|
|
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
|
|
|
}
|
|
|
|
|
|
|
|
public void registerIcons(IconRegister iconRegister)
|
|
|
|
{
|
2014-01-17 21:05:38 +00:00
|
|
|
if (this.itemID == ModItems.blankSlate.itemID)
|
2014-01-17 19:12:49 +00:00
|
|
|
{
|
|
|
|
this.itemIcon = iconRegister.registerIcon("AlchemicalWizardry:BlankSlate");
|
2014-01-17 21:05:38 +00:00
|
|
|
} else if (this.itemID == ModItems.reinforcedSlate.itemID)
|
2014-01-17 19:12:49 +00:00
|
|
|
{
|
|
|
|
this.itemIcon = iconRegister.registerIcon("AlchemicalWizardry:ReinforcedSlate");
|
2014-01-17 21:05:38 +00:00
|
|
|
} else if (this.itemID == ModItems.imbuedSlate.itemID)
|
2014-01-17 19:12:49 +00:00
|
|
|
{
|
|
|
|
this.itemIcon = iconRegister.registerIcon("AlchemicalWizardry:InfusedSlate");
|
2014-01-17 21:05:38 +00:00
|
|
|
} else if (this.itemID == ModItems.demonicSlate.itemID)
|
2014-01-17 19:12:49 +00:00
|
|
|
{
|
|
|
|
this.itemIcon = iconRegister.registerIcon("AlchemicalWizardry:DemonSlate");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
|
|
|
|
{
|
|
|
|
par3List.add("Infused stone inside of");
|
|
|
|
par3List.add("a blood altar");
|
|
|
|
}
|
|
|
|
}
|