When I launch minecraft in eclipse the textures work perfectly, but when i compile and obfuscate my code in a zip file it doesn't work. My textures are stored in this path my mod.zip>assets>modid>textures>blocks or items>texture.png
Here is my code:
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister)
{
this.itemIcon = par1IconRegister.registerIcon("modid:item");
}
Any help is appreciated. Thank you