Mekanism-tilera-Edition/common/buildcraft/api/core/IIconProvider.java

28 lines
595 B
Java
Raw Normal View History

2013-04-13 16:35:13 +02:00
package buildcraft.api.core;
2013-08-08 19:10:11 +02:00
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.util.Icon;
2013-12-01 07:41:01 +01:00
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public interface IIconProvider
{
2013-04-13 16:35:13 +02:00
/**
* @param iconIndex
* @return
*/
@SideOnly(Side.CLIENT)
public Icon getIcon(int iconIndex);
/**
2013-12-01 07:41:01 +01:00
* A call for the provider to register its Icons. This may be called multiple times but should
* only be executed once per provider
*
2013-04-13 16:35:13 +02:00
* @param iconRegister
*/
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister iconRegister);
}