mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 03:59:37 +00:00
38 lines
751 B
Java
38 lines
751 B
Java
package mekanism.common.base;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import mekanism.common.SideData;
|
|
|
|
/**
|
|
* Implement this if your TileEntity is capable of being modified by a Configurator in it's 'modify' mode.
|
|
* @author AidanBrady
|
|
*
|
|
*/
|
|
public interface IInvConfiguration
|
|
{
|
|
/**
|
|
* Gets an ArrayList of side data this machine contains.
|
|
* @return
|
|
*/
|
|
public ArrayList<SideData> getSideData();
|
|
|
|
/**
|
|
* Gets this machine's configuration as a byte[] -- each byte matching with the index of the defined SideData.
|
|
* @return
|
|
*/
|
|
public byte[] getConfiguration();
|
|
|
|
/**
|
|
* Gets this machine's current orientation.
|
|
* @return
|
|
*/
|
|
public int getOrientation();
|
|
|
|
/**
|
|
* Gets this machine's ejector.
|
|
* @return
|
|
*/
|
|
public IEjector getEjector();
|
|
}
|