33 lines
883 B
Java
33 lines
883 B
Java
package WayofTime.alchemicalWizardry.common.block;
|
|
|
|
import WayofTime.alchemicalWizardry.common.AlchemicalWizardry;
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
|
import net.minecraft.creativetab.CreativeTabs;
|
|
|
|
public class RuneOfSelfSacrifice extends BloodRune
|
|
{
|
|
public RuneOfSelfSacrifice(int id)
|
|
{
|
|
super(id);
|
|
setUnlocalizedName("runeOfSelfSacrifice");
|
|
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
|
setHardness(2.0F);
|
|
setResistance(5.0F);
|
|
}
|
|
|
|
@Override
|
|
@SideOnly(Side.CLIENT)
|
|
public void registerIcons(IconRegister iconRegister)
|
|
{
|
|
this.blockIcon = iconRegister.registerIcon("AlchemicalWizardry:RuneOfSelfSacrifice");
|
|
}
|
|
|
|
@Override
|
|
public int getRuneEffect(int metaData)
|
|
{
|
|
return 4;
|
|
}
|
|
}
|