mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 15:03:07 +00:00
38 lines
698 B
Java
38 lines
698 B
Java
package appeng.api.me.util;
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
|
|
|
/**
|
|
* Definition for a MAC
|
|
*
|
|
*/
|
|
public interface IAssemblerCluster {
|
|
|
|
/**
|
|
* cycles the cpus, should be called once a tick, if called more, crafting will accelerate.
|
|
*/
|
|
public void cycleCpus();
|
|
|
|
/**
|
|
* Tells the MAC one of the cpus was used.
|
|
*/
|
|
void addCraft();
|
|
|
|
/**
|
|
* is there a CPU available for Crafting?
|
|
* @return hasCPUReady
|
|
*/
|
|
boolean canCraft();
|
|
|
|
/**
|
|
* Gets a TileAssembler from the MAC
|
|
* @param assemblerOffset
|
|
* @return TileEntity for that Assembler or Null
|
|
*/
|
|
TileEntity getAssembler( int assemblerOffset );
|
|
|
|
public int getLastOffset();
|
|
|
|
public void setLastOffset( int x );
|
|
}
|