2013-01-25 00:01:59 +01:00
|
|
|
package mekanism.api;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
|
|
|
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();
|
|
|
|
}
|