2013-01-25 00:01:59 +01:00
|
|
|
package mekanism.api;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
2013-04-01 01:12:10 +02:00
|
|
|
/**
|
|
|
|
* Implement this if your TileEntity is capable of being modified by a Configurator in it's 'modify' mode.
|
|
|
|
* @author AidanBrady
|
|
|
|
*
|
|
|
|
*/
|
2013-01-25 00:01:59 +01:00
|
|
|
public interface IConfigurable
|
|
|
|
{
|
2013-02-25 21:02:05 +01:00
|
|
|
/**
|
|
|
|
* Gets an ArrayList of side data this machine contains.
|
|
|
|
* @return
|
|
|
|
*/
|
2013-01-25 00:01:59 +01:00
|
|
|
public ArrayList<SideData> getSideData();
|
|
|
|
|
2013-02-25 21:02:05 +01:00
|
|
|
/**
|
|
|
|
* Gets this machine's configuration as a byte[] -- each byte matching with the index of the defined SideData.
|
|
|
|
* @return
|
|
|
|
*/
|
2013-01-25 00:01:59 +01:00
|
|
|
public byte[] getConfiguration();
|
|
|
|
|
2013-02-25 21:02:05 +01:00
|
|
|
/**
|
|
|
|
* Gets this machine's current orientation.
|
|
|
|
* @return
|
|
|
|
*/
|
2013-01-25 00:01:59 +01:00
|
|
|
public int getOrientation();
|
2013-10-30 20:22:43 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets this machine's ejector.
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public IEjector getEjector();
|
2013-01-25 00:01:59 +01:00
|
|
|
}
|