Mekanism-tilera-Edition/src/minecraft/mekanism/api/IConfigurable.java

25 lines
481 B
Java
Raw Normal View History

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
*/
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();
}