This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
package net.overcraft.mod.items;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.ItemSword;
import net.overcraft.mod.overcraft;
public class BalloonSword extends ItemSword {
public BalloonSword(ToolMaterial material) {
super(material);
}
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister iconRegister) {
this.itemIcon = iconRegister.registerIcon(overcraft.modid + ":" + this.getUnlocalizedName().substring(5));
}
}
I cant figure out how to make the BalloonSword get replaced by DeflatedBalloonSword when it breaks.
any help would be greatly appreciated thank you!