2012-11-05 20:29:04 +01:00
|
|
|
package mekanism.api;
|
2012-11-05 16:46:50 +01:00
|
|
|
|
2012-11-05 16:52:56 +01:00
|
|
|
/**
|
|
|
|
* Implement this if you want your GUI to be accessible by the Control Panel.
|
|
|
|
* @author AidanBrady
|
|
|
|
*
|
|
|
|
*/
|
2012-11-05 16:46:50 +01:00
|
|
|
public interface IAccessibleGui
|
|
|
|
{
|
2012-11-05 16:52:56 +01:00
|
|
|
/**
|
|
|
|
* The block's GUI's specific access ID.
|
|
|
|
* @return gui id
|
|
|
|
*/
|
2012-11-05 16:46:50 +01:00
|
|
|
public int getGuiID();
|
|
|
|
|
2012-11-05 16:52:56 +01:00
|
|
|
/**
|
|
|
|
* The mod's instance object
|
2012-12-19 21:23:55 +01:00
|
|
|
* @return what the @Instance field is named in your mod.
|
2012-11-05 16:52:56 +01:00
|
|
|
*/
|
2012-11-21 16:14:35 +01:00
|
|
|
public String getInstanceName();
|
|
|
|
|
2012-12-19 21:23:55 +01:00
|
|
|
/**
|
|
|
|
* Gets the mod's main class path as a string. For Mekanism I would return "mekanism.common.Mekanism"
|
|
|
|
* @return
|
|
|
|
*/
|
2012-11-21 16:14:35 +01:00
|
|
|
public String getClassPath();
|
2012-11-05 16:46:50 +01:00
|
|
|
}
|