package gregtech.api.interfaces; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.util.IIcon; import net.minecraft.util.ResourceLocation; public interface IIconContainer { /** * @return A regular Icon. */ @SideOnly(Side.CLIENT) IIcon getIcon(); /** * @return Icon of the Overlay (or null if there is no Icon) */ @SideOnly(Side.CLIENT) IIcon getOverlayIcon(); /** * @return the Amount of Render Passes for this Icon. */ @SideOnly(Side.CLIENT) default int getIconPasses() { return 1; }; /** * @return the Default Texture File for this Icon. */ @SideOnly(Side.CLIENT) ResourceLocation getTextureFile(); }