Mekanism-tilera-Edition/src/main/java/mekanism/common/IInvConfiguration.java

36 lines
712 B
Java
Raw Normal View History

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
*
*/
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();
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();
2013-11-30 18:29:49 +01:00
/**
* Gets this machine's current orientation.
* @return
*/
public int getOrientation();
2013-11-30 18:29:49 +01:00
/**
* Gets this machine's ejector.
* @return
*/
public IEjector getEjector();
}