Code Clean-Sweep!
This commit is contained in:
parent
7d7a8f0b7e
commit
02e6be9d0e
34 changed files with 610 additions and 766 deletions
|
|
@ -1,28 +1,21 @@
|
|||
package MysticOres.Items;
|
||||
|
||||
import MysticOres.MysticOres;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.EnumRarity;
|
||||
import net.minecraft.item.EnumToolMaterial;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ItemSword;
|
||||
import MysticOres.MysticOres;
|
||||
|
||||
public class ItemSwords extends ItemSword
|
||||
{
|
||||
|
||||
public ItemSwords(int par1, EnumToolMaterial par2EnumToolMaterial)
|
||||
{
|
||||
super(par1, par2EnumToolMaterial);
|
||||
public ItemSwords(int par1, EnumToolMaterial par2EnumToolMaterial)
|
||||
{
|
||||
super(par1, par2EnumToolMaterial);
|
||||
setCreativeTab(MysticOres.MysticOresTab);
|
||||
}
|
||||
|
||||
this.setCreativeTab(MysticOres.MysticOresTab);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons(IconRegister iconRegister)
|
||||
{
|
||||
itemIcon = iconRegister.registerIcon("MysticTextures" + ":" + this.getUnlocalizedName().substring(this.getUnlocalizedName().indexOf(".") + 1));
|
||||
}
|
||||
@Override
|
||||
public void registerIcons(IconRegister iconRegister)
|
||||
{
|
||||
itemIcon = iconRegister.registerIcon("MysticTextures" + ":" + this.getUnlocalizedName().substring(this.getUnlocalizedName().indexOf(".") + 1));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue