A bit of package reorganization, added InventoryNetwork to transporters

This commit is contained in:
Aidan Brady committed 2014-08-09 22:20:49 -04:00
1 parent e9b87f8d56
commit 1d6de974d3
118 files changed
+452 -280

No files matched your search

@@ -0,0 +1,33 @@
package mekanism.common.base;
import java.util.Map;
/**
* Internal interface containing methods that are shared by many core Mekanism machines. TODO: remove next minor MC
* version.
* @author AidanBrady
*
*/
public interface IElectricMachine
{
/**
* Update call for machines. Use instead of updateEntity() - it's called every tick.
*/
public void onUpdate();
/**
* Whether or not this machine can operate.
* @return can operate
*/
public boolean canOperate();
/**
* Runs this machine's operation -- or smelts the item.
*/
public void operate();
/**
* Gets this machine's recipes.
*/
public Map getRecipes();
}