mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 05:02:25 +00:00
25 lines
587 B
Java
25 lines
587 B
Java
package buildcraft.api.core;
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
|
import net.minecraft.util.Icon;
|
|
|
|
public interface IIconProvider {
|
|
|
|
/**
|
|
* @param iconIndex
|
|
* @return
|
|
*/
|
|
@SideOnly(Side.CLIENT)
|
|
public Icon getIcon(int iconIndex);
|
|
|
|
/**
|
|
* A call for the provider to register its Icons. This may be called multiple times but should only be executed once per provider
|
|
* @param iconRegister
|
|
*/
|
|
@SideOnly(Side.CLIENT)
|
|
public void registerIcons(IconRegister iconRegister);
|
|
|
|
}
|