20 lines
604 B
Java
20 lines
604 B
Java
package MysticOres.Items;
|
|
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
|
import net.minecraft.item.EnumToolMaterial;
|
|
import net.minecraft.item.ItemAxe;
|
|
import MysticOres.MysticOres;
|
|
|
|
public class ItemAxes extends ItemAxe
|
|
{
|
|
public ItemAxes(int par1, EnumToolMaterial par2EnumToolMaterial)
|
|
{
|
|
super(par1, par2EnumToolMaterial);
|
|
setCreativeTab(MysticOres.MysticOresTab);
|
|
}
|
|
@Override
|
|
public void registerIcons(IconRegister iconRegister)
|
|
{
|
|
itemIcon = iconRegister.registerIcon("MysticMods" + ":" + this.getUnlocalizedName().substring(this.getUnlocalizedName().indexOf(".") + 1));
|
|
}
|
|
}
|