2013-11-30 18:29:49 +01:00
|
|
|
package mekanism.common;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implement this if your TileEntity is capable of being modified by a Configurator in it's 'modify' mode.
|
|
|
|
* @author AidanBrady
|
|
|
|
*
|
|
|
|
*/
|
2014-03-08 02:00:25 +01:00
|
|
|
public interface IInvConfiguration
|
2013-11-30 18:29:49 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Gets an ArrayList of side data this machine contains.
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public ArrayList<SideData> getSideData();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-11-30 18:29:49 +01:00
|
|
|
/**
|
|
|
|
* Gets this machine's configuration as a byte[] -- each byte matching with the index of the defined SideData.
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public byte[] getConfiguration();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-11-30 18:29:49 +01:00
|
|
|
/**
|
|
|
|
* Gets this machine's current orientation.
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public int getOrientation();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-11-30 18:29:49 +01:00
|
|
|
/**
|
|
|
|
* Gets this machine's ejector.
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public IEjector getEjector();
|
|
|
|
}
|