2013-04-13 16:35:13 +02:00
|
|
|
package buildcraft.api.gates;
|
|
|
|
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
2013-08-08 19:10:11 +02:00
|
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
|
|
|
import net.minecraft.util.Icon;
|
2013-04-13 16:35:13 +02:00
|
|
|
|
|
|
|
public interface IAction {
|
|
|
|
|
2013-08-08 19:10:11 +02:00
|
|
|
/**
|
|
|
|
* Return your ID from the old API here, this is only used to convert old
|
|
|
|
* saves to the new format.
|
|
|
|
*/
|
|
|
|
int getLegacyId();
|
|
|
|
|
|
|
|
String getUniqueTag();
|
|
|
|
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
|
|
Icon getIcon();
|
|
|
|
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
|
|
void registerIcons(IconRegister iconRegister);
|
2013-04-13 16:35:13 +02:00
|
|
|
|
|
|
|
boolean hasParameter();
|
|
|
|
|
|
|
|
String getDescription();
|
|
|
|
}
|