Mekanism-tilera-Edition/common/mekanism/api/IConfigurable.java

30 lines
621 B
Java
Raw Normal View History

package mekanism.api;
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 IConfigurable
{
2013-02-25 21:02:05 +01:00
/**
* Gets an ArrayList of side data this machine contains.
* @return
*/
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
*/
public byte[] getConfiguration();
2013-02-25 21:02:05 +01:00
/**
* Gets this machine's current orientation.
* @return
*/
public int getOrientation();
}